Added cors urls to settigns

This commit is contained in:
z0ccc 2021-09-29 22:25:11 -04:00
parent b328fbb383
commit 7ae1feb40a
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View file

@ -2,6 +2,8 @@ env/
.vscode/
./frontend/App.test.js
# backened #
/backend/secret_settings.py

View file

@ -25,7 +25,6 @@ DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
@ -141,5 +140,7 @@ STATIC_URL = '/static/'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
CORS_ORIGIN_WHITELIST = [
'https://vytal.io',
'https://z0ccc.github.io',
'http://localhost:3000'
]