Docker buid issue
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user