Fix Vite config to listen on host 0.0.0.0 and port 8080 (resolve 502)

This commit is contained in:
Gemini CLI 2026-02-28 08:57:04 -06:00
parent a1af488753
commit dd52e94e94

View file

@ -13,6 +13,8 @@ export default defineConfig({
}, },
}, },
server: { server: {
host: true,
port: 8080,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://localhost:8214', target: 'http://localhost:8214',
@ -20,4 +22,8 @@ export default defineConfig({
}, },
}, },
}, },
preview: {
host: true,
port: 8080,
}
}) })