1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-24 10:06:43 +02:00

Remove access check for download endpoint

This commit is contained in:
Piero Toffanin 2021-10-26 17:27:33 -04:00
parent 3af5db1db2
commit c778aa9960

View File

@ -615,7 +615,6 @@ def create_app(args):
abort(500, description=e)
@app.route("/download_file/<string:filename>", methods=["GET"])
@access_check
def download_file(filename: str):
"""
Download a translated file