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:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user