mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-03-20 00:45:41 +08:00
代码调整优化
This commit is contained in:
@@ -30,7 +30,7 @@ const viteConfig: UserConfig = {
|
||||
target: 'http://localhost:8888',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '/api'),
|
||||
rewrite: (path) => path.replace(/^\/api/, '/'),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user