Skip to content

Commit d904a1a

Browse files
author
Diane Kaplan
committed
fix: add frontend-app-ecommerce into CORS_ORIGIN_WHITELIST
1 parent 3eed361 commit d904a1a

File tree

1 file changed

+3
-1
lines changed
  • commerce_coordinator/settings

1 file changed

+3
-1
lines changed

commerce_coordinator/settings/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ def root(*x):
8484
CORS_ALLOW_HEADERS = corsheaders_default_headers + (
8585
'use-jwt-cookie',
8686
)
87-
CORS_ORIGIN_WHITELIST = []
87+
CORS_ORIGIN_WHITELIST = [
88+
'http://localhost:1996'
89+
]
8890

8991
ROOT_URLCONF = 'commerce_coordinator.urls'
9092

0 commit comments

Comments
 (0)