From 43f45f918462ae4e86b51c8535dfc839b0624905 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 12 Nov 2024 18:14:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=20apibase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/store/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/store/index.js b/web/src/store/index.js index fa452a9b..2a7e3009 100644 --- a/web/src/store/index.js +++ b/web/src/store/index.js @@ -4,7 +4,9 @@ import axios from 'axios' export default createStore({ state: { - apiBaseUrl: 'http://localhost:5300/api/v1', + // 开发时使用 + // apiBaseUrl: 'http://localhost:5300/api/v1', + apiBaseUrl: '/api/v1', autoRefreshLog: false, autoScrollLog: true, settingsPageTab: '',