mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-28 19:01:02 +00:00
Remove access check for download endpoint
This commit is contained in:
parent
3af5db1db2
commit
c778aa9960
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue