mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-07-09 03:04:26 -04:00
Remove access check for download endpoint
This commit is contained in:
parent
3af5db1db2
commit
c778aa9960
@ -615,7 +615,6 @@ def create_app(args):
|
|||||||
abort(500, description=e)
|
abort(500, description=e)
|
||||||
|
|
||||||
@app.route("/download_file/<string:filename>", methods=["GET"])
|
@app.route("/download_file/<string:filename>", methods=["GET"])
|
||||||
@access_check
|
|
||||||
def download_file(filename: str):
|
def download_file(filename: str):
|
||||||
"""
|
"""
|
||||||
Download a translated file
|
Download a translated file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user