优化
This commit is contained in:
@@ -12,10 +12,6 @@ export default defineConfig(({ command, mode }) => {
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: env.VITE_API_URL,
|
||||
// target: 'http://192.168.2.96:10587/cashier-client', // 阿伟
|
||||
// target: 'http://192.168.2.41:10587/cashier-client', // 鹏辉
|
||||
// target: "https://cashierclient.sxczgkj.cn/cashier-client", // 线上
|
||||
// target: 'https://cashier-client.sxczgkj.cn/cashier-client', // 测试
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ""),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user