Skip to content

Commit ccfedf7

Browse files
committed
Adding CORS headers for the new alliance urls.
RE:#208
1 parent 4f7ef03 commit ccfedf7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clipping-service/app/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030

3131
cors_origins = [
3232
'https://data-staging.naturalcapitalproject.org',
33-
'https://data.naturalcapitalproject.stanford.edu'
33+
'https://data.naturalcapitalproject.stanford.edu',
34+
'http://data.naturalcapitalproject.stanford.edu',
35+
'https://data.naturalcapitalalliance.stanford.edu',
36+
'http://data.naturalcapitalalliance.stanford.edu',
3437
]
3538

3639
if os.environ.get("DEV_MODE"):

0 commit comments

Comments
 (0)