From 424bde5b16d873cc5d6215f273ebfd644932f04d Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Wed, 28 Feb 2024 14:16:55 +0800 Subject: [PATCH] build: prod url --- .env.production | 2 +- src/layout/routerView/index.vue | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) 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 @@