Fix: Add initial secret key for docker-pinry

This commit is contained in:
winkidney
2019-12-08 17:00:37 +08:00
committed by Isaac Bythewood
parent 7769a85634
commit 2458ad295c

View File

@@ -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