Skip to content

Commit

Permalink
Add new allowed host and some new allowe CORS origins
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-james-nangosha committed Nov 22, 2024
1 parent 78e7dd2 commit 0ff1d8d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Empty file removed api/fixtures/subjects.json
Empty file.
6 changes: 5 additions & 1 deletion thea/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
'10.0.2.2',
'localhost',
'thea_django',
'testsite.esomelo.com'
'testsite.esomelo.com',
'demo.project-thea.org'
]


Expand Down Expand Up @@ -66,6 +67,9 @@

CORS_ALLOWED_ORIGINS = [
'http://localhost:5173',
'https://testsite.esomelo.com',
'http://demo.project-thea.org',
'https://demo.project-thea.org'
]

ROOT_URLCONF = "thea.urls"
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ deps =
; mkdir

commands =
; python manage.py makemigrations
; python manage.py migrate
python manage.py makemigrations
python manage.py migrate
python manage.py test

; commands_pre =
Expand Down

0 comments on commit 0ff1d8d

Please sign in to comment.