优化请求配置

This commit is contained in:
gyq
2026-01-29 17:41:38 +08:00
parent 5586573ff1
commit 696a39da99
9 changed files with 1955 additions and 347 deletions

View File

@@ -10,7 +10,7 @@ export default defineConfig({
port:80
proxy: {
'/api': {
target: "https://cashier-client.sxczgkj.cn/cashier-client",
target: "https://cashier.sxczgkj.com",
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
}