Added cors urls to settigns
This commit is contained in:
parent
b328fbb383
commit
7ae1feb40a
2 changed files with 4 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,6 +2,8 @@ env/
|
||||||
|
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
./frontend/App.test.js
|
||||||
|
|
||||||
# backened #
|
# backened #
|
||||||
|
|
||||||
/backend/secret_settings.py
|
/backend/secret_settings.py
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = []
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
|
|
@ -141,5 +140,7 @@ STATIC_URL = '/static/'
|
||||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = [
|
CORS_ORIGIN_WHITELIST = [
|
||||||
|
'https://vytal.io',
|
||||||
|
'https://z0ccc.github.io',
|
||||||
'http://localhost:3000'
|
'http://localhost:3000'
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue