Skip to content

Commit 204b3fc

Browse files
committed
Allow RemotePluginWebSocket connections from localhost:8010
Signed-off-by: falkTX <[email protected]>
1 parent 31eb22a commit 204b3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mod/webserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ def check_origin(self, origin):
11761176
protocol, domain = match.groups()
11771177
if protocol not in ("http", "https"):
11781178
return False
1179-
if domain != "mod.audio" and not domain.endswith(".mod.audio"):
1179+
if domain != "localhost:8010" and domain != "mod.audio" and not domain.endswith(".mod.audio"):
11801180
return False
11811181
return True
11821182

0 commit comments

Comments
 (0)