Skip to content

Commit

Permalink
#151 add is_public to the response for org_num_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
cugarteblair committed Oct 30, 2024
1 parent 9114cd7 commit 265fd55
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions packages/ps_web/ps_web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,21 +460,14 @@
# r'^https://(\w+\.)?slideruleearth\.io$',
# r'^https://(\w+\.)?testsliderule\.org$',
# ]
# OR
# CORS_ORIGIN_ALLOW_ALL = True
# OR
# CORS restrictions only affect clients that are browsers, not python clients or C++ clients
CORS_ALLOWED_ORIGINS = [
"https://sliderule.slideruleearth.io",
"https://developers.slideruleearth.io",
"https://uw.slideruleearth.io",
"https://utexas.slideruleearth.io",
"https://uofmdtest.testsliderule.org",
"https://esr.slideruleearth.io",
"https://brown.slideruleearth.io",
"https://ccid.slideruleearth.io",
"https://test-public.testsliderule.org",
"https://testsliderule.org",
"https://slideruleearth.io",
"https://client.testsliderule.org",
"https://client.slideruleearth.io",
"https://demo.testsliderule.org",
"https://demo.slideruleearth.io",
]
if DEBUG:
CORS_ALLOWED_ORIGINS.append("http://localhost")

0 comments on commit 265fd55

Please sign in to comment.