-
-
Save BrightnBubbly/a0b5d7468f33414b1e42200995ac935f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
INSTALLED_APPS = [ | |
'chat.apps.ChatConfig', | |
'django.contrib.admin', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'corsheaders' #add this new line for the django-cors-headers app | |
] | |
CORS_ORIGIN_ALLOW_ALL = True | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment