Skip to content
Snippets Groups Projects
Commit a3f124cc authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

send index.html

parent bc9dae84
Branches
Tags
No related merge requests found
...@@ -67,7 +67,7 @@ def survey_index(path): ...@@ -67,7 +67,7 @@ def survey_index(path):
# fallback to serving the SPA through index.html for all other requests # fallback to serving the SPA through index.html for all other requests
# https://flask.palletsprojects.com/en/2.0.x/patterns/singlepageapplications/ # https://flask.palletsprojects.com/en/2.0.x/patterns/singlepageapplications/
return current_app.send_static_file("survey.html") return current_app.send_static_file("index.html")
@routes.route('/version', methods=['GET', 'POST']) @routes.route('/version', methods=['GET', 'POST'])
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment