correction CORS
This commit is contained in:
@@ -77,7 +77,7 @@ def configure_app(app=None, config=None):
|
||||
jwt = JWTManager(app)
|
||||
# setup the Flask-CORS extension for handling Cross Origin Resource Sharing
|
||||
CORS(app, resources={r"/api/*": {
|
||||
# "origins": ["http://localhost:4200","http://localhost:5000"],
|
||||
# "origins": ["http://localhost:4200","http://localhost:6000"],
|
||||
"origins": "*",
|
||||
"supports_credentials": True
|
||||
}})
|
||||
|
||||
Reference in New Issue
Block a user