优化请求配置
This commit is contained in:
@@ -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/, ''),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user