main: Fix return for info page
All checks were successful
Build Docker / Build Master (push) Successful in 25s
Build Docker / Build Bot (push) Successful in 24s

This commit is contained in:
Nathan Woodburn 2023-09-25 15:07:56 +10:00
parent 9c5b00433f
commit 6d9ba77568
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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('/')
@ -530,9 +531,6 @@ 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():