Update revive bug

This commit is contained in:
bigJIU 2023-03-28 14:39:20 +08:00
parent 5d6357ceba
commit 2621f74aad
3 changed files with 3 additions and 7 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -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')