WebHost: use redirect for /room form submission (#3271)

This commit is contained in:
Fabian Dill
2024-05-05 22:59:51 +02:00
committed by GitHub
parent d94cf8dcb2
commit 2aa3ef372d

View File

@@ -150,6 +150,7 @@ def host_room(room: UUID):
if cmd:
Command(room=room, commandtext=cmd)
commit()
return redirect(url_for("host_room", room=room.id))
now = datetime.datetime.utcnow()
# indicate that the page should reload to get the assigned port