From 74a967c8c68a2ab16815ba6eb3664af75af51676 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 7 Nov 2024 14:19:13 +0100 Subject: [PATCH] Allow RemotePluginWebSocket connections from localhost:8010 Signed-off-by: falkTX --- mod/webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/webserver.py b/mod/webserver.py index f61be889..eb53e781 100644 --- a/mod/webserver.py +++ b/mod/webserver.py @@ -1145,7 +1145,7 @@ def check_origin(self, origin): protocol, domain = match.groups() if protocol not in ("http", "https"): return False - if domain != "mod.audio" and not domain.endswith(".mod.audio"): + if domain != "localhost:8010" and domain != "mod.audio" and not domain.endswith(".mod.audio"): return False return True