From 6ccd6590220b5e88063fb4693f8cd7ab93cf15ab Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 1 Apr 2017 00:07:08 +0100 Subject: [PATCH] Fix routes to use /plus as the default route --- templates/index.html | 3 ++- templates/layout.html | 2 +- templates/payment.html | 2 +- templates/wait.html | 2 +- webinterface.py | 4 ++++ 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index 020caeb..e6e95f8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -25,9 +25,10 @@ Clockwork Gaming Plus is a brand new premium service that allows you to get more

-Click Here to purchase Clockwork Plus! +Click Here to purchase Clockwork Plus! +
diff --git a/templates/layout.html b/templates/layout.html index 1fca1e9..95b99e0 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -30,7 +30,7 @@ - Clockwork PLUS! + Clockwork PLUS! diff --git a/templates/wait.html b/templates/wait.html index 135c848..869e9fa 100644 --- a/templates/wait.html +++ b/templates/wait.html @@ -1,5 +1,5 @@ - + diff --git a/webinterface.py b/webinterface.py index 82b93fb..593726b 100644 --- a/webinterface.py +++ b/webinterface.py @@ -9,6 +9,10 @@ app = Flask(__name__) app.secret_key = rand(24) +@app.route("/") +def baseroute(): + return redirect("/plus") + def teamspeakClientAdd(clientName): with ts3.query.TS3Connection('magic.adam-ant.co.uk', '10011') as ts3conn: try: