main: Fix return for info page
This commit is contained in:
parent
9c5b00433f
commit
6d9ba77568
@ -500,6 +500,7 @@ def register_post():
|
|||||||
return redirect('/success?domain=' + domain + '&status=creating')
|
return redirect('/success?domain=' + domain + '&status=creating')
|
||||||
|
|
||||||
@app.route('/success')
|
@app.route('/success')
|
||||||
|
@app.route('/info')
|
||||||
def success():
|
def success():
|
||||||
if 'domain' not in request.args:
|
if 'domain' not in request.args:
|
||||||
return redirect('/')
|
return redirect('/')
|
||||||
@ -530,9 +531,6 @@ def success():
|
|||||||
elif request.args.get('status') == 'creating':
|
elif request.args.get('status') == 'creating':
|
||||||
return render_template('success.html')
|
return render_template('success.html')
|
||||||
|
|
||||||
@app.route('/info')
|
|
||||||
def info():
|
|
||||||
return success()
|
|
||||||
|
|
||||||
@app.route('/site-count')
|
@app.route('/site-count')
|
||||||
def site_count_route():
|
def site_count_route():
|
||||||
|
Loading…
Reference in New Issue
Block a user