fix a mistake :(

This commit is contained in:
amammad
2023-07-25 00:11:23 +10:00
parent 7aff0079f5
commit 1e1d42fa35

View File

@@ -7,6 +7,6 @@ FLASK_DEBUG = True
# it is good to check default value always, maybe
# the user responsible for setup the application make a mistake
# and has not changed the default SECRET_KEY value
SECRET_KEY = os.getenv('envKey') # A_CONSTANT_SECRET
SECRET_KEY = os.getenv('envKey', "A_CONSTANT_SECRET") # A_CONSTANT_SECRET
if SECRET_KEY == "A_CONSTANT_SECRET":
raise "not possible"