mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-05-26 17:02:28 -04:00
Remove access check for download endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user