diff --git a/.env.production b/.env.production index 6ae7d68..a4ec68b 100644 --- a/.env.production +++ b/.env.production @@ -4,7 +4,7 @@ ENV = 'production' # base api url # VITE_BASE_API_URL = 'https://nest-api.buqiyuan.site' # VITE_BASE_API_URL = 'http://123.249.107.55' -VITE_BASE_API_URL = 'http://localhost' +VITE_BASE_API_URL = 'http://123.249.107.55' # 公共基础路径, 所有资源的路径都将据此配置重写。 VITE_BASE_URL = /api diff --git a/src/layout/routerView/index.vue b/src/layout/routerView/index.vue index 4a767d9..5acaf80 100644 --- a/src/layout/routerView/index.vue +++ b/src/layout/routerView/index.vue @@ -2,14 +2,14 @@