Change from debug to production

This commit is contained in:
keannu125 2023-03-11 00:10:19 +08:00
parent 3dfbb6dced
commit 62d9009fd7

View file

@ -26,7 +26,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu125.pythonanywhere.com']