Configure allowed hosts

This commit is contained in:
keannu125 2023-03-10 23:24:52 +08:00
parent c5de71b630
commit bb2204427a

View file

@ -28,7 +28,7 @@ SECRET_KEY = os.environ.get('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['*']
ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu125.pythonanywhere.com']
# Application definition