Skip to content

Commit bb78dd1

Browse files
lpatmoLinda Peng
and
Linda Peng
authored
Unblock cors error on react app running locally on 3000 (#102)
Co-authored-by: Linda Peng <[email protected]>
1 parent c6dd158 commit bb78dd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

project/config/settings/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@
336336

337337
CORS_ORIGIN_WHITELIST = (
338338
'https://127.0.0.1:3000',
339+
'http://localhost:3000',
339340
)
340341

341342
CORS_ALLOW_CREDENTIALS = True

0 commit comments

Comments
 (0)