From a3f124cce42464d76503f85fec30a1e409d9f0be Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Mon, 10 Feb 2025 10:09:26 +0100 Subject: [PATCH] send index.html --- compendium_v2/routes/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compendium_v2/routes/default.py b/compendium_v2/routes/default.py index 9563d515..fc08573f 100644 --- a/compendium_v2/routes/default.py +++ b/compendium_v2/routes/default.py @@ -67,7 +67,7 @@ def survey_index(path): # fallback to serving the SPA through index.html for all other requests # 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']) -- GitLab