1
0
forked from baron/baron-sso

fix(adminfront): fix playwright webserver timeout by refining preview command and vite config

This commit is contained in:
2026-05-28 10:52:14 +09:00
parent bb5438bf8d
commit 177a319407
3 changed files with 13 additions and 4 deletions

View File

@@ -24,4 +24,13 @@ export default defineConfig({
},
},
},
preview: {
host: "127.0.0.1",
proxy: {
"/api": {
target: process.env.API_PROXY_TARGET || "http://localhost:3000",
changeOrigin: true,
},
},
},
});