Added allowed hosts

This commit is contained in:
keannu125 2023-03-19 20:56:50 +08:00
parent 869d8db7dc
commit d08be3754f

View file

@ -28,7 +28,7 @@ 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 = False DEBUG = False
ALLOWED_HOSTS = [] ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu126.pythonanywhere.com']
# Application definition # Application definition