Skip to content

Commit 5126529

Browse files
Ken LippoldKen Lippold
authored andcommitted
Allow CORS on public resources.
1 parent 29ca3a0 commit 5126529

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hydroserver/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
","
4444
) + [local_ip]
4545

46-
CORS_ALLOWED_ORIGINS = [PROXY_BASE_URL]
46+
CORS_ORIGIN_ALLOW_ALL = True
47+
CORS_ALLOW_CREDENTIALS = False
4748
CSRF_TRUSTED_ORIGINS = [PROXY_BASE_URL]
4849

4950

0 commit comments

Comments
 (0)