Update: Session JWT added (not working now)
This commit is contained in:
parent
1771c63b36
commit
6dee0956dd
5 changed files with 60 additions and 41 deletions
|
|
@ -8,7 +8,6 @@ class Config(object):
|
|||
TESTING = False
|
||||
CSRF_ENABLED = True
|
||||
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY', 'default_secret_key')
|
||||
FLASK_APP = os.environ.get('FLASK_APP', None)
|
||||
FLASK_ENV = os.environ.get('FLASK_ENV', None)
|
||||
|
||||
|
|
@ -21,6 +20,9 @@ class Config(object):
|
|||
'flaskaled-srv2': SQLALCHEMY_DATABASE_URI_2
|
||||
}
|
||||
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY', 'default_secret_key')
|
||||
ALLOW_ORIGIN = os.environ.get('ALLOW_ORIGIN', '*')
|
||||
|
||||
|
||||
class ProductionConfig(Config):
|
||||
DEBUG = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue