diff --git a/frontend/backend/application/__init__.py b/frontend/backend/application/__init__.py index 4443684..04ac354 100644 --- a/frontend/backend/application/__init__.py +++ b/frontend/backend/application/__init__.py @@ -9,7 +9,7 @@ def create_app(flask_env='development'): app = Flask(__name__, instance_relative_config=False, static_url_path='') origin = app.config.get('ALLOW_ORIGIN') if origin is None: - origin = ['http://127.0.0.1', 'http://localhost'] + origin = ['http://127.0.0.1:5000', 'http://localhost:5000'] CORS(app, supports_credentials=True, origins=origin) if flask_env == 'production': app.config.from_object("config.ProductionConfig")