We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95a066f commit 754aed9Copy full SHA for 754aed9
app.py
@@ -130,7 +130,7 @@ def upload_file(in_mmif):
130
131
agent = request.headers.get('User-Agent')
132
if 'curl' in agent.lower():
133
- return f"Visualization ID is {viz_id}\nYou can access the visualized file at /display/{viz_id}\n"
+ return f"Visualization ID is {viz_id}\nYou can access the visualized file at {request.url_root}display/{viz_id}\n"
134
return redirect(f"/display/{viz_id}", code=301)
135
136
0 commit comments