Allow all hosts en dev
This commit is contained in:
@@ -9,7 +9,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__fil
|
||||
SECRET_KEY = 'nyan'
|
||||
|
||||
"""Hosts allowed to run the server"""
|
||||
ALLOWED_HOSTS = []
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
"""Django CORS Configuration"""
|
||||
CORS_ORIGIN_ALLOW_ALL = True
|
||||
@@ -146,4 +146,3 @@ LOGIN_URL = '/auth/login/'
|
||||
|
||||
"""What is the user model of the app"""
|
||||
AUTH_USER_MODEL = 'users.User'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user