mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-05-30 02:42:30 -04:00
Fix #376 could not build url for endpoint
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user