From 6d9ba77568f1f4d322a5ee707233d53ae31d5b9d Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 25 Sep 2023 15:07:56 +1000 Subject: [PATCH] main: Fix return for info page --- master/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/master/main.py b/master/main.py index c159d9a..7d70eed 100644 --- a/master/main.py +++ b/master/main.py @@ -500,6 +500,7 @@ def register_post(): return redirect('/success?domain=' + domain + '&status=creating') @app.route('/success') +@app.route('/info') def success(): if 'domain' not in request.args: return redirect('/') @@ -529,10 +530,7 @@ def success(): elif request.args.get('status') == 'creating': return render_template('success.html') - -@app.route('/info') -def info(): - return success() + @app.route('/site-count') def site_count_route():