Skip to content

Commit

Permalink
chore: update allow list for url
Browse files Browse the repository at this point in the history
  • Loading branch information
abu271 authored Jan 3, 2025
1 parent 7bf2694 commit 354957d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
ALLOWED_HOSTS = [
'http://127.0.0.1:3004',
'http://localhost:3004',
'localhost'
'localhost',
'www.abudarda.co.uk'
]

# Application definition
Expand Down Expand Up @@ -62,7 +63,8 @@
# CORS settings
CORS_ALLOWED_ORIGINS = [
'http://localhost:3004',
'http://127.0.0.1:3004'
'http://127.0.0.1:3004',
'http://abudarda.co.uk:3004'
]

ROOT_URLCONF = 'app.urls'
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
ports:
- "3004:3004"
environment:
- VITE_BOOK_API_URL=http://api:8000
- VITE_BOOK_API_URL=http://www.abudarda.co.uk:8000

api:
image: devchem/octo:bookapi_v{{api_version}}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1

0 comments on commit 354957d

Please sign in to comment.