Skip to content

Commit

Permalink
Allow RemotePluginWebSocket connections from localhost:8010
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Nov 7, 2024
1 parent 41c86c5 commit 74a967c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 74a967c

Please sign in to comment.