Allow all hosts en dev

This commit is contained in:
Daniel Cortes
2020-06-07 00:34:52 -04:00
parent 4f3c4e0b95
commit 5a5a96a365

View File

@@ -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'