Skip to content

Commit bfc162f

Browse files
Added http://localhost:3000 to CORS ALLOWED ORIGIONS
1 parent e09f322 commit bfc162f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ecommerce_api/settings/local.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
# DATABASES['default']['HOST'] = 'localhost'
55

66
CORS_ALLOWED_ORIGINS = [
7+
"http://localhost:3000",
8+
"http://127.0.0.1:3000",
79
"http://localhost:5173",
10+
"http://127.0.0.1:5173",
811
]

0 commit comments

Comments
 (0)