Added redirect after post

master
Tibor Bizjak 2019-09-12 13:00:25 +02:00
parent 84cdf65c3a
commit 22c62bb513
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def move():
else:
AN = request.forms.get("move")
valid = games[id].AN_move(AN)
return template(TEMPLATE, game=games[id], valid=valid)
redirect("/game/")
run(host="localhost", port=8080)