fix(tenant): 收紧双站运营提号与录单边界

This commit is contained in:
yml
2026-11-16 16:12:55 +08:00
parent 1108df195d
commit 1ce9f7aaf5
60 changed files with 1531 additions and 337 deletions
+13 -10
View File
@@ -54,6 +54,7 @@ function stripVantRemoteIconFont() {
const frontendPort = Number(process.env.DEV_FRONTEND_PORT || process.env.PORT || 5189)
const backendPort = Number(process.env.DEV_BACKEND_PORT || 18088)
const apiProxyTarget = process.env.VITE_API_PROXY_TARGET || `http://127.0.0.1:${backendPort}`
const opsHost = (process.env.VITE_OPS_DOMAIN || 'ops.localhost').trim()
export default defineConfig({
// 禁止 vite 清屏,避免把后端启动日志(GIN 路由、迁移等)从终端滚动缓冲里抹掉
@@ -92,16 +93,18 @@ export default defineConfig({
xfwd: true,
},
},
allowedHosts: [
'dachui.localhost',
'jieyou.localhost',
'ops.localhost',
'221329.cc.cd',
'd4aa-77-93-89-84.ngrok-free.app',
'frp-bus.com',
'www.u499731.nyat.app',
'fn.221329.xyz',
],
allowedHosts: Array.from(
new Set([
'dachui.localhost',
'jieyou.localhost',
opsHost,
'221329.cc.cd',
'd4aa-77-93-89-84.ngrok-free.app',
'frp-bus.com',
'www.u499731.nyat.app',
'fn.221329.xyz',
])
),
},
build: {
rollupOptions: {