mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-13 12:33:23 +02:00
Fix type conversion, get bool instead
This commit is contained in:
parent
803cd71a1f
commit
645ba32909
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ SECRET_KEY = proj_config.get("internal", "secret_key")
|
|||
CRYPTOGRAPHY_SALT = proj_config.get("internal", "crypto_salt")
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = proj_config.get("internal", "debug")
|
||||
DEBUG = proj_config.getboolean("internal", "debug")
|
||||
if DEBUG:
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue