diff --git a/index.html b/index.html
index 9383028..afe1136 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
-
-
+
+
-
+
diff --git a/src/queries/axios_instance.ts b/src/queries/axios_instance.ts
index b8e1da7..8a3d82e 100644
--- a/src/queries/axios_instance.ts
+++ b/src/queries/axios_instance.ts
@@ -8,7 +8,7 @@ import { isNil } from 'ramda';
import { MaybeMapFactory } from '@/shared/foundation';
let engineCache: AxiosInstance | null = null;
-export const baseUrl = '/api'
+export const baseUrl = '/wxApi'
/**
* 应用中所需要使用的AJAX引擎。
* @param forceUnauthorized 是否强制丢弃用户会话令牌信息。
diff --git a/vite.config.ts b/vite.config.ts
index bb35cc5..f1f67f3 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -109,11 +109,11 @@ export default mode => {
server: {
port: 3000,
proxy: {
- '/api': {
+ '/wxApi': {
target: `${proxyHost.Host}`,
changeOrigin: true,
secure: false,
- rewrite: path => path.replace(/^\/api/, proxyHost.Path)
+ rewrite: path => path.replace(/^\/wxApi/, proxyHost.Path)
},
'/test': {
target: `http://127.0.0.1:8081`,