From 86d3f63178e5d5b32daa336f174665649d751404 Mon Sep 17 00:00:00 2001 From: g7hoo Date: Fri, 30 Sep 2022 17:03:40 +0800 Subject: [PATCH] update request.sj --- src/utils/request.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index 0700744..1424162 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -8,7 +8,8 @@ import merge from 'lodash/merge' const http = axios.create({ // baseURL: window.SITE_CONFIG['apiURL'], - baseURL: '/yd-monitor', + baseURL: '/api', + // baseURL: '/yd-monitor', // baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor', timeout: 1000 * 180, withCredentials: true