mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 10:29:20 +08:00
feat: 整理SQL
This commit is contained in:
@@ -13,13 +13,13 @@ export default defineConfig(async () => {
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// 后端服务地址
|
||||
target: 'http://192.168.3.101:8080',
|
||||
target: 'http://localhost:8080',
|
||||
ws: true,
|
||||
},
|
||||
// 静态资源代理 - 用于访问上传的图片和文件
|
||||
'/uploads': {
|
||||
changeOrigin: true,
|
||||
target: 'http://192.168.3.101:8080',
|
||||
target: 'http://localhost:8080',
|
||||
ws: false,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user