mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-10 10:15:10 -04:00
Resolve "Use a HMAC instead of a hash"
This commit is contained in:
parent
e1bac8b6a7
commit
c301e472bd
9 changed files with 148 additions and 91 deletions
2
main.py
2
main.py
|
@ -36,7 +36,7 @@ def create_app(test_config=None):
|
|||
)
|
||||
api.add_resource(
|
||||
rest_api.APIDownload,
|
||||
'/api/download/<string:key>/<string:filename>',
|
||||
'/api/download/<string:key>/<string:secret>/<string:filename>',
|
||||
resource_class_kwargs={'upload_folder': app.config['UPLOAD_FOLDER']}
|
||||
)
|
||||
api.add_resource(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue