Refresh dependencies and fix tests.
This commit is contained in:
parent
3dd6e6919d
commit
a0817bfd59
7 changed files with 102 additions and 82 deletions
|
@ -38,6 +38,9 @@ from util.systemlogs import build_logs_archive
|
|||
from util.useremails import send_email_changed
|
||||
|
||||
|
||||
PGP_KEY_MIMETYPE = 'application/pgp-keys'
|
||||
|
||||
|
||||
@lru_cache(maxsize=1)
|
||||
def _get_route_data():
|
||||
return swagger_route_data(include_internal=True, compact=True)
|
||||
|
@ -92,7 +95,7 @@ def aci_signing_key():
|
|||
if not signer.name:
|
||||
abort(404)
|
||||
|
||||
return send_file(signer.open_public_key_file())
|
||||
return send_file(signer.open_public_key_file(), mimetype=PGP_KEY_MIMETYPE)
|
||||
|
||||
@web.route('/plans/')
|
||||
@no_cache
|
||||
|
|
Reference in a new issue