Update revive bug
This commit is contained in:
parent
5d6357ceba
commit
2621f74aad
Binary file not shown.
File diff suppressed because one or more lines are too long
6
main.py
6
main.py
@ -32,14 +32,10 @@ def getId():
|
|||||||
@app.route('/')
|
@app.route('/')
|
||||||
def gamewelcome():
|
def gamewelcome():
|
||||||
ip = getId()
|
ip = getId()
|
||||||
return redirect(url_for('gamewelcomeTest',id = ip))
|
|
||||||
# return redirect(url_for('gameplay', id=request.remote_addr))
|
# return redirect(url_for('gameplay', id=request.remote_addr))
|
||||||
# return render_template('GameWelcome.html')
|
|
||||||
|
|
||||||
@app.route('/<id>')
|
|
||||||
def gamewelcomeTest(id):
|
|
||||||
return render_template('GameWelcome.html')
|
return render_template('GameWelcome.html')
|
||||||
|
|
||||||
|
|
||||||
@app.route('/question')
|
@app.route('/question')
|
||||||
def gamequestion():
|
def gamequestion():
|
||||||
return render_template('GameQuestion.html')
|
return render_template('GameQuestion.html')
|
||||||
|
Loading…
Reference in New Issue
Block a user