From c085d05949f5ff47e7461a47d684a43f2ee9685c Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 18 Aug 2021 10:54:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B7=E6=B1=82=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/api.js b/src/utils/api.js index 6818d93..0418104 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -1,8 +1,8 @@ // let host = 'http://192.168.31.125:8081/python'//林 // let host = 'http://192.168.31.152:8081/python'//榕 let host = '' -if(location.host.includes('liuwanr.cn') || process.env.NODE_ENV === 'development'){ - host = 'http://www.liuwanr.cn/python' +if(location.host.includes('120.78.198.231') || process.env.NODE_ENV === 'development'){ + host = 'http://120.78.198.231:8081/python' }else{ host = 'http://www.occupationlab.com/python' }