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:
IGNY8 VPS (Salman)
2025-11-15 13:12:01 +00:00
parent efd5ea6b4f
commit 8d7210c8a6
4 changed files with 32 additions and 6 deletions

View File

@@ -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 = [