feat(frontend): make dev server port configurable via VIKUNJA_FRONTEND_PORT env var
This commit is contained in:
parent
05ff67b681
commit
6a4401eb7c
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue