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 31eb22a commit 204b3fc
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 @@ -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

Expand Down

0 comments on commit 204b3fc

Please sign in to comment.