Docker buid issue

This commit is contained in:
2025-10-17 12:25:18 +05:30
parent 53a949d1b1
commit 7c567018a2

View File

@ -13,7 +13,7 @@ def create_app():
# CORS Configuration # CORS Configuration
CORS(app, resources={ CORS(app, resources={
r"/*": { r"/*": {
"origins": ["http://localhost:4200", "http://localhost:4300,","https://shop.rootxwire.com/"], "origins": ["http://localhost:4200", "http://localhost:4300","https://shop.rootxwire.com"],
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"], "methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"allow_headers": ["Content-Type", "Authorization"], "allow_headers": ["Content-Type", "Authorization"],
"supports_credentials": True "supports_credentials": True