Bind Vite dev server to 0.0.0.0 for LAN access

This commit is contained in:
2026-07-07 18:03:22 +08:00
parent 8364048053
commit f5fa6d0878
+1
View File
@@ -76,6 +76,7 @@ export default defineConfig({
},
// Dev server proxies API + WebSocket to the GoChat Go backend
server: {
host: '0.0.0.0',
port: 3036,
proxy: {
'/api': {