This commit is contained in:
2026-08-24 21:13:12 +05:30
parent 0757bfb375
commit 6c105f5b76
5 changed files with 81 additions and 4 deletions

View File

@@ -60,6 +60,8 @@ export default defineConfig({
},
},
server: {
// Expose server over network (0.0.0.0)
host: true,
// Honor a port assigned by the environment; fall back to Vite's default.
port: process.env.PORT ? Number(process.env.PORT) : 5173,