diff --git a/activitylink/src/router/index.js b/activitylink/src/router/index.js index 1813e90..6ba857d 100644 --- a/activitylink/src/router/index.js +++ b/activitylink/src/router/index.js @@ -73,7 +73,7 @@ const routes = [ ] // 创建路由实例 const router = createRouter({ - history: createWebHistory('/prodBack/'), + history: createWebHistory('/testBack/'), routes }) router.beforeEach((to, from, next) => { diff --git a/activitylink/vite.config.js b/activitylink/vite.config.js index 9265077..d78523f 100644 --- a/activitylink/vite.config.js +++ b/activitylink/vite.config.js @@ -14,9 +14,9 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'https://hwjb.homilychart.com/prodApi/', - // https://dbqb.nfdxy.net/devLotApi/ + target: 'https://dbqb.nfdxy.net/devLotApi/', // http://localhost:12699/ + // https://hwjb.homilychart.com/prodApi/ changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, '') },