1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-05 07:20:13 +01:00

Fix #376 could not build url for endpoint

This commit is contained in:
Piero Toffanin 2023-01-03 07:57:29 -05:00
parent 5f4ef37ed3
commit 84487585eb

View File

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