WebHost: use redirect for /room form submission (#3271)
This commit is contained in:
parent
d94cf8dcb2
commit
2aa3ef372d
|
@ -150,6 +150,7 @@ def host_room(room: UUID):
|
||||||
if cmd:
|
if cmd:
|
||||||
Command(room=room, commandtext=cmd)
|
Command(room=room, commandtext=cmd)
|
||||||
commit()
|
commit()
|
||||||
|
return redirect(url_for("host_room", room=room.id))
|
||||||
|
|
||||||
now = datetime.datetime.utcnow()
|
now = datetime.datetime.utcnow()
|
||||||
# indicate that the page should reload to get the assigned port
|
# indicate that the page should reload to get the assigned port
|
||||||
|
|
Loading…
Reference in New Issue