update cors ????

This commit is contained in:
Baptiste Peupier 2022-02-02 10:02:04 +01:00
parent c4a6ff1312
commit aaa526756b
3 changed files with 1 additions and 12 deletions

View file

@ -13,7 +13,7 @@ class Config(object):
FLASK_ENV = os.environ.get('FLASK_ENV', None)
FLASK_RUN_PORT = os.environ.get('FLASK_RUN_PORT', 5000)
API_URL = os.environ.get('API_URL', 'http://127.0.0.1:5001/api/')
API_URL = os.environ.get('API_URL', 'http://127.0.0.1:5000/api/')
SECRET_KEY = os.environ.get('SECRET_KEY', 'default_secret_key')
ALLOW_ORIGIN = os.environ.get('ALLOW_ORIGIN', None)