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( 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: except Exception as e: