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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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