Update .gitignore to include build artifacts and development dependencies; fix port mapping in docker-compose for marketing service; add marketing configuration analysis documentation; enhance Vite configuration for allowed hosts; update marketing script in package.json; remove unused marketing image asset.

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-13 17:20:41 +00:00
parent 983a8c4fc9
commit 56d58be50a
6 changed files with 352 additions and 4 deletions

View File

@@ -86,8 +86,16 @@ export default defineConfig(({ mode }) => {
port: isMarketingBuild ? 5174 : 5173, // Different port for marketing dev
strictPort: false, // Allow port fallback if port is busy
// Disable host check for development (behind reverse proxy)
// This allows any host to connect when behind Caddy
allowedHosts: true,
// Vite 6.1.0: Must explicitly list all hosts
allowedHosts: [
"igny8.com",
"www.igny8.com",
"app.igny8.com",
"api.igny8.com",
"localhost",
"127.0.0.1",
"0.0.0.0"
],
watch: {
usePolling: true, // Needed for file watching in Docker
},