代码更新

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,9 +7,9 @@ module.exports = {
devServer: {
proxy: {
'/api': {
target: 'https://tapi.cashier.sxczgkj.cn', // 目标服务器地址
changeOrigin: true, // 是否改变源地址
rewrite: '/' // 重写路径
target: 'https://tapi.cashier.sxczgkj.cn/api', // 目标服务器地址
changeOrigin: true, // 是否更改请求源
rewrite: path => path.replace(/^\/api/, '')
}
}
},