1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-24 08:02:18 +02:00

Remove api_key param from download url

This commit is contained in:
Piero Toffanin 2021-10-26 17:28:59 -04:00
parent c778aa9960
commit f3029d65d5

View File

@ -608,7 +608,7 @@ def create_app(args):
return jsonify(
{
"translatedFileUrl": url_for('download_file', filename=translated_filename, _external=True, api_key=get_req_api_key())
"translatedFileUrl": url_for('download_file', filename=translated_filename, _external=True)
}
)
except Exception as e: