File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 228
228
"SWAGGER_UI_DIST" :
"//unpkg.com/[email protected] " ,
229
229
}
230
230
231
- CORS_ALLOW_ALL_ORIGINS = True
231
+ # CORS_ALLOW_ALL_ORIGINS = True
232
+ CORS_ORIGIN_WHITELIST = (
233
+ "https://2023.pycon.kr" ,
234
+ "https://pycon-dev2023.pycon.kr" ,
235
+ "https://pycon-prod2023.pycon.kr" ,
236
+ "https://127.0.0.1:3000" ,
237
+ "https://localhost:3000" ,
238
+ "http://2023.pycon.kr" ,
239
+ "http://pycon-dev2023.pycon.kr" ,
240
+ "http://pycon-prod2023.pycon.kr" ,
241
+ "http://127.0.0.1:3000" ,
242
+ "http://localhost:3000" ,
243
+ )
244
+ CORS_ALLOW_CREDENTIALS = True
232
245
233
246
OAUTH_GITHUB_CALLBACK_URL = "http://localhost:8000/accounts/github/login/callback/"
234
247
OAUTH_GOOGLE_CALLBACK_URL = "http://localhost:8000/accounts/google/login/callback/"
You can’t perform that action at this time.
0 commit comments