mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-19 23:51:01 +00:00
Fix #376 could not build url for endpoint
This commit is contained in:
parent
5f4ef37ed3
commit
84487585eb
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue