feat(frontend): make dev server port configurable via VIKUNJA_FRONTEND_PORT env var

This commit is contained in:
kolaente
2026-02-19 14:54:40 +01:00
parent 05ff67b681
commit 6a4401eb7c

View File

@@ -213,7 +213,7 @@ function getBuildConfig(env: Record<string, string>) {
},
server: {
host: '127.0.0.1', // see: https://github.com/vitejs/vite/pull/8543
port: 4173,
port: parseInt(env.VIKUNJA_FRONTEND_PORT || '4173', 10),
strictPort: true,
},
output: {