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