def get_endpoint(server):
    if not server:  # Setting is empty, signing isn't enabled.
        return

    return u'{server}/1.0/sign_addon'.format(server=server)
Get the endpoint to sign the file, either the full or prelim one.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/lib/crypto/packaged.py/get_endpoint