优化规格

This commit is contained in:
gyq
2024-03-13 18:26:57 +08:00
parent e058c97016
commit c68b36740f
6 changed files with 90 additions and 49 deletions

View File

@@ -9,8 +9,8 @@ export default defineConfig({
server: {
proxy: {
'/api': {
// target: 'https://cashierclient.sxczgkj.cn/cashier-client', // 测试
target: 'http://192.168.2.27:10587/cashier-client', // 国成
target: 'https://cashierclient.sxczgkj.cn/cashier-client', // 测试
// target: 'http://192.168.2.27:10587/cashier-client', // 国成
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}