Skip to content

Commit

Permalink
Add 127.0.0.1 to default origins
Browse files Browse the repository at this point in the history
  • Loading branch information
babsey committed Mar 13, 2024
1 parent 6ab67c5 commit 1612e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynest/nest/server/hl_api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_boolean_environ(env_key, default_value="false"):
return env_value.lower() in ["yes", "true", "t", "1"]


_default_origins = "http://localhost:*"
_default_origins = "http://localhost:*,http://127.0.0.1:*"
ACCESS_TOKEN = os.environ.get("NEST_SERVER_ACCESS_TOKEN", "")
AUTH_DISABLED = get_boolean_environ("NEST_SERVER_DISABLE_AUTH")
CORS_ORIGINS = os.environ.get("NEST_SERVER_CORS_ORIGINS", _default_origins).split(",")
Expand Down

0 comments on commit 1612e48

Please sign in to comment.