Docker buid issue

This commit is contained in:
2025-10-17 12:20:31 +05:30
parent 8c2ec4424a
commit 53a949d1b1

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"], "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