Skip to content

Commit 5f96622

Browse files
authored
Update settings.py
1 parent 8ebe1fb commit 5f96622

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
PUBLIC_HOSTNAME = secrets["SERVER"]["PUBLIC_HOSTNAME"]
2525
EMAIL_BACKEND = secrets["SERVER"]["EMAIL_BACKEND"]
2626
CORS_ORIGIN_WHITELIST = ["http://localhost:3000"]
27-
27+
CORS_ORIGIN_ALLOW_ALL = True
28+
CORS_ORIGIN_WHITELIST = ["*"]
29+
2830
except KeyError:
2931
SECRET_KEY="^2uql114+yy0d$xv6+lm8*#1=uxs_oa0zw0bvu^fpi4tc9x0i"
3032
ANON_KEY="627626823549f787c3ec763ff687169206626149"

0 commit comments

Comments
 (0)