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

@@ -93,7 +93,6 @@ services:
- "0.0.0.0:8023:5174" # Marketing dev server port (internal: 5174, external: 8023)
environment:
VITE_BACKEND_URL: "https://api.igny8.com/api"
VITE_ALLOWED_HOSTS: "igny8.com,www.igny8.com,app.igny8.com,api.igny8.com,localhost,127.0.0.1,0.0.0.0,172.18.0.13"
volumes:
- /data/app/igny8/frontend:/app:rw
networks: [igny8_net]