From b1c28c5007a329549d1d4568b52e67b42e560b2c Mon Sep 17 00:00:00 2001 From: scarqin <1054139596@qq.com> Date: Tue, 16 Aug 2022 17:19:53 +0800 Subject: [PATCH] fix: gio in release app --- src/workbench/browser/build/build.js | 2 +- src/workbench/browser/src/index.html | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/workbench/browser/build/build.js b/src/workbench/browser/build/build.js index ef67869a3..d7248596c 100644 --- a/src/workbench/browser/build/build.js +++ b/src/workbench/browser/build/build.js @@ -24,7 +24,7 @@ class webPlatformBuilder { }catch(e){ } - let baseDir="/"+lang+'/'+window.location.pathname.replace('/zh','').replace('/en','') + let baseDir="/"+lang+'/' let search={}; if(window.location.search){ window.location.href=baseDir+window.location.search); diff --git a/src/workbench/browser/src/index.html b/src/workbench/browser/src/index.html index fdbf67955..d9b739bb0 100644 --- a/src/workbench/browser/src/index.html +++ b/src/workbench/browser/src/index.html @@ -57,21 +57,4 @@ } - - - - - - -