mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:49:20 +08:00
feat: 所有接口路径加api前缀
This commit is contained in:
@@ -11,7 +11,6 @@ export default defineConfig(async () => {
|
||||
proxy: {
|
||||
'/api': {
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// 后端服务地址
|
||||
target: 'http://localhost:8080',
|
||||
ws: true,
|
||||
|
||||
Reference in New Issue
Block a user