Skip to content

Commit 74a967c

Browse files
committed
Allow RemotePluginWebSocket connections from localhost:8010
Signed-off-by: falkTX <[email protected]>
1 parent 41c86c5 commit 74a967c

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
@@ -1145,7 +1145,7 @@ def check_origin(self, origin):
11451145
protocol, domain = match.groups()
11461146
if protocol not in ("http", "https"):
11471147
return False
1148-
if domain != "mod.audio" and not domain.endswith(".mod.audio"):
1148+
if domain != "localhost:8010" and domain != "mod.audio" and not domain.endswith(".mod.audio"):
11491149
return False
11501150
return True
11511151

0 commit comments

Comments
 (0)