feat: 对接完接口

This commit is contained in:
anonymous
2025-01-02 11:05:26 +08:00
parent 6d62cc0567
commit bcd940efe3
48 changed files with 1711 additions and 360 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ export default ({ command, mode }) => {
[VITE_APP_PROXY_PREFIX]: {
target: VITE_SERVER_BASEURL,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^${VITE_APP_PROXY_PREFIX}`), ''),
rewrite: (path) => path.replace(new RegExp(`^${VITE_APP_PROXY_PREFIX}`), 'api'),
},
}
: undefined,