feat: 新增网关限流
All checks were successful
构建并部署前端到测试环境 / deploy (push) Successful in 56s

This commit is contained in:
luo
2026-10-24 16:22:28 +08:00
parent ecce4f6e7b
commit 049f8257fb
32 changed files with 3569 additions and 4 deletions

View File

@@ -40,7 +40,11 @@ plugins.push(
})
)
if (serve) {
const { mockApiPlugin } = await import('./octoberBrowserFixtures.mjs')
const { mockApiPlugin } = await import(
process.argv.includes('--gateway')
? './gatewayBrowserFixtures.mjs'
: './octoberBrowserFixtures.mjs'
)
const server = await createServer({
...loaded.config,
configFile: false,