From 4d6c97fb46cbc263950db4824629b02c22d8af7a Mon Sep 17 00:00:00 2001 From: manetta Date: Fri, 11 Mar 2022 16:51:52 +0100 Subject: [PATCH] adding application_root to post form in the start screen --- octomode.py | 2 +- templates/start.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/octomode.py b/octomode.py index c7e28e9..f4b7025 100755 --- a/octomode.py +++ b/octomode.py @@ -110,7 +110,7 @@ def index(): create_pad_on_first_run(name, ext) return redirect(url_for('pad', name=name)) else: - return render_template('start.html') + return render_template('start.html', application_root=APP.config['APPLICATION_ROOT']) @APP.route('//') def main(name): diff --git a/templates/start.html b/templates/start.html index 09bf2ca..3bd4bd4 100644 --- a/templates/start.html +++ b/templates/start.html @@ -6,7 +6,7 @@ -
+

in octomode