Skip to content

Commit 39b5c41

Browse files
committed
fixed a weird cors issue:
1 parent ada0ad9 commit 39b5c41

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

backend/backend/settings/prod.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@
2222
]
2323

2424
# CORS
25-
CORS_ALLOWED_ORIGINS = [config("ORIGIN"), config("NAKED_ORIGIN")]
25+
CORS_ALLOWED_ORIGINS = [
26+
"https://www.pytogether.org",
27+
"https://pytogether.org",
28+
"https://api.pytogether.org"
29+
]
30+
2631
CORS_ALLOW_CREDENTIALS = True
2732

2833
CORS_ALLOW_METHODS = [

0 commit comments

Comments
 (0)