代码更新

This commit is contained in:
GaoHao
2025-03-12 14:13:29 +08:00
parent 2f1523d4e9
commit c2135c6119
105 changed files with 2026 additions and 278 deletions

View File

@@ -7,10 +7,10 @@ export default defineConfig({
],
server: {
proxy: {
'/server3': {
target: 'http://101.37.12.135:8080', // 目标服务
changeOrigin: true,
rewrite: path => path.replace(/^\/server3/, ''),
'/api': {
target: 'https://tapi.cashier.sxczgkj.cn/api', // 目标服务器地址
changeOrigin: true, // 是否更改请求源
rewrite: path => path.replace(/^\/api/, '')
}
}
}