forked from baron/baron-sso
fix(ci): improve webServer startup debugging and host binding
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user