From 204b3fce3c1bcee870cd919849d06b64d3e6087b 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 458cc3ab..72ceeed7 100644 --- a/mod/webserver.py +++ b/mod/webserver.py @@ -1176,7 +1176,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