forked from baron/baron-sso
fix(ci): simplify webServer preview command to avoid host/port override
This commit is contained in:
@@ -85,7 +85,7 @@ export default defineConfig({
|
||||
? undefined
|
||||
: {
|
||||
command: process.env.CI
|
||||
? `pnpm run preview -- --host localhost --port ${port} > preview.log 2>&1`
|
||||
? `pnpm run preview -- --port ${port}`
|
||||
: `pnpm run dev -- --host localhost --port ${port}`,
|
||||
url: `http://localhost:${port}`,
|
||||
reuseExistingServer,
|
||||
|
||||
Reference in New Issue
Block a user