1
0
forked from baron/baron-sso

fix(ci): improve webServer startup debugging and host binding

This commit is contained in:
2026-05-27 17:34:03 +09:00
parent 3b073a4e11
commit 14b916fec8

View File

@@ -85,10 +85,10 @@ export default defineConfig({
? undefined
: {
command: process.env.CI
? `pnpm run build && pnpm run preview -- --host 127.0.0.1 --port ${port}`
: `pnpm run dev -- --host 127.0.0.1 --port ${port}`,
url: defaultBaseUrl,
? `pnpm run preview -- --host localhost --port ${port} > preview.log 2>&1`
: `pnpm run dev -- --host localhost --port ${port}`,
url: `http://localhost:${port}`,
reuseExistingServer,
timeout: 120 * 1000,
timeout: 180 * 1000,
},
});