diff --git a/.env.prod b/.env.prod index 1cbab01..fc74ee5 100644 --- a/.env.prod +++ b/.env.prod @@ -1,8 +1,6 @@ -VITE_BASE=/fe-student -VITE_BASE_API=/manageApi -VITE_PROXY_URL= - +VITE_BASE=/fe-student-release +VITE_BASE_API=/manageApi-release VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc-release/course/studyindex?id= -VITE_BOE_CASS_DETAIL_URL=https://u-pre.boe.com/pc/case/detail?id= -VITE_BOE_TEST_DETAIL_URL=https://u-pre.boe.com/web/quizsummary?detailId= \ No newline at end of file +VITE_BOE_CASS_DETAIL_URL=https://u.boe.com/pc-release/case/detail?id= +VITE_BOE_TEST_DETAIL_URL=https://u.boe.com/web/quizsummary?detailId= \ No newline at end of file diff --git a/.env.release b/.env.release index 17f063f..fc74ee5 100644 --- a/.env.release +++ b/.env.release @@ -1,7 +1,6 @@ VITE_BASE=/fe-student-release VITE_BASE_API=/manageApi-release - VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc-release/course/studyindex?id= VITE_BOE_CASS_DETAIL_URL=https://u.boe.com/pc-release/case/detail?id= VITE_BOE_TEST_DETAIL_URL=https://u.boe.com/web/quizsummary?detailId= \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index dc900f0..d458419 100644 --- a/vite.config.js +++ b/vite.config.js @@ -13,8 +13,8 @@ import { viteMockServe } from 'vite-plugin-mock' import topLevelAwait from "vite-plugin-top-level-await"; const path = require('path') -// const url = 'http://localhost:30001' -const url = 'http://111.231.196.214:12013/manageApi' +const url = 'http://localhost:30001' +// const url = 'http://111.231.196.214:12013/manageApi' export default defineConfig(({ command }) => ({ base: '/fe-student',