From ad8260b87e068531cba49fa7459711b84b73d640 Mon Sep 17 00:00:00 2001 From: Zhoujiahui <539943419@qq.com> Date: Mon, 29 Jul 2024 15:06:07 +0800 Subject: [PATCH] =?UTF-8?q?app=E4=B8=8A=E8=B7=AF=E5=BE=84=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E5=86=99=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pinia/store.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pinia/store.js b/src/pinia/store.js index 14dbdbe..2b835ad 100644 --- a/src/pinia/store.js +++ b/src/pinia/store.js @@ -33,10 +33,11 @@ if (activeKeyMap == null) { const serverPort = process.env.NODE_ENV === 'development' ? config.PORT : location.port -const baseUrl = - location.protocol + '//' + location.hostname + ':' + serverPort + '/' +const baseUrl = 'http://110.238.117.95:17057/' + // location.protocol + '//' + location.hostname + ':' + serverPort + '/' -const wsBaseUrl = 'ws' + '://' + location.hostname + ':' + serverPort +// const wsBaseUrl = 'ws' + '://' + location.hostname + ':' + serverPort +const wsBaseUrl = 'ws://110.238.117.95:17057/' // console.log(process.env.NODE_ENV,config.DEVPORT,location.port,serverPort) export const useSettingStore = defineStore('setting', {