Update Docker Compose and backend settings; enhance Vite configuration for reverse proxy and improve API error handling. Removed VITE_ALLOWED_HOSTS from Docker Compose, clarified allowed hosts in settings.py, and added handling for 403 Forbidden responses in api.ts to clear invalid tokens.
This commit is contained in:
@@ -23,9 +23,10 @@ ALLOWED_HOSTS = [
|
||||
'app.igny8.com',
|
||||
'igny8.com',
|
||||
'www.igny8.com',
|
||||
'31.97.144.105',
|
||||
'localhost',
|
||||
'127.0.0.1',
|
||||
# Note: Do NOT add static IP addresses here - they change on container restart
|
||||
# Use container names or domain names instead
|
||||
]
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
||||
Reference in New Issue
Block a user