fix: default value for the conf secret key value
This commit is contained in:
@@ -4,7 +4,7 @@ basedir = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
||||
class Config:
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY')
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY') or "thesecretkey"
|
||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URI')\
|
||||
or 'sqlite:///' + os.path.join(basedir, 'instance\\adogapet.db')
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
|
||||
Reference in New Issue
Block a user