mirror of
https://github.com/lemeow125/Ivy-Backend.git
synced 2024-11-16 22:29:25 +08:00
Change from debug to production
This commit is contained in:
parent
3dfbb6dced
commit
62d9009fd7
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
SECRET_KEY = os.environ.get('SECRET_KEY')
|
SECRET_KEY = os.environ.get('SECRET_KEY')
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu125.pythonanywhere.com']
|
ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu125.pythonanywhere.com']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue