From 8e6876e3043556aa2e0d9767e123c30717c03dd9 Mon Sep 17 00:00:00 2001 From: Jo <479214531@qq.com> Date: Fri, 7 Jan 2022 19:20:50 +0800 Subject: [PATCH] =?UTF-8?q?host=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/config/index.js b/src/config/index.js index a19026d..c5fb68b 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -3,12 +3,7 @@ import util from '@/util' const isHh = location.host.includes('10.196.131.73') //是否是河海版本 const isBeta = process.env.NODE_ENV === 'development' || location.host.includes('39.108.250.202') //是否是职站测试 -let host = location.origin + '/' -// 测试环境是9000,所以要特殊判断 -if(isBeta) { - host = 'http://39.108.250.202:9000/' - // host = 'http://192.168.31.151:9000' -} +const host = location.origin + ':9000/' /** * python8个系统的id和名称 * id即systemId,从cookie里取