Browse Source

add * to allowed hosts

Nikos Atlas 7 tháng trước cách đây
mục cha
commit
0179141153
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/telecaster/settings.py

+ 1 - 1
src/telecaster/settings.py

@@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-%!t8c#y2k5u0693!uf@s0ud41tfj!m4m0*(r^p8yocdhy*)wwx
 # SECURITY WARNING: don't run with debug turned on in production!
 DEBUG = True
 
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['*']
 
 
 # Application definition