mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-13 22:12:11 +08:00
feat: 修改接口
This commit is contained in:
parent
eeba58e49c
commit
54da31f7d5
@ -61,6 +61,14 @@ export default ({ mode }) => defineConfig({
|
|||||||
ws: true,
|
ws: true,
|
||||||
secure: true,
|
secure: true,
|
||||||
},
|
},
|
||||||
|
'/svgConfig/api/goview': {
|
||||||
|
// @ts-ignore
|
||||||
|
target: loadEnv(mode, process.cwd()).VITE_DEV_PATH,
|
||||||
|
changeOrigin: true,
|
||||||
|
rewrite: () => '',
|
||||||
|
ws: true,
|
||||||
|
secure: true,
|
||||||
|
},
|
||||||
'/svgConfig': {
|
'/svgConfig': {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
target: loadEnv(mode, process.cwd()).VITE_DEV_PATH,
|
target: loadEnv(mode, process.cwd()).VITE_DEV_PATH,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user