From 2a7fb3f5cef8726a5bec4db0252382a497888a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BUG=E5=BC=84=E6=BD=AE=E5=84=BF?= Date: Mon, 27 Nov 2023 01:32:29 +0000 Subject: [PATCH] update src/utils/request.js. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BUG弄潮儿 --- src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index 4b3dd45..c61c35d 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -5,7 +5,7 @@ import { getToken } from '@/utils/auth' // create an axios instance const service = axios.create({ - baseUrl: process.env.VUE_APP_BASE_API, // url = base url + request url + baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url // withCredentials: true, // send cookies when cross-domain requests timeout: 10000 // request timeout }) -- Gitee