From 2aa3ef372dc53b724e038f01d8635e1b304e592d Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 5 May 2024 22:59:51 +0200 Subject: [PATCH] WebHost: use redirect for /room form submission (#3271) --- WebHostLib/misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/WebHostLib/misc.py b/WebHostLib/misc.py index ec461e7d..018ad1bd 100644 --- a/WebHostLib/misc.py +++ b/WebHostLib/misc.py @@ -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