mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 10:20:39 +01:00
Fix: Add initial secret key for docker-pinry
This commit is contained in:
committed by
Isaac Bythewood
parent
7769a85634
commit
2458ad295c
@@ -8,7 +8,7 @@ if 'SECRET_KEY' not in os.environ:
|
|||||||
logging.warning(
|
logging.warning(
|
||||||
"No SECRET_KEY given in environ, please have a check"
|
"No SECRET_KEY given in environ, please have a check"
|
||||||
)
|
)
|
||||||
SECRET_KEY = os.environ.get('SECRET_KEY', None)
|
SECRET_KEY = os.environ.get('SECRET_KEY', "PLEASE_REPLACE_ME")
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|||||||
Reference in New Issue
Block a user