Skip to content

Commit

Permalink
fix: gio in release app
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Aug 16, 2022
1 parent 6e2ab00 commit b1c28c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion src/workbench/browser/build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
17 changes: 0 additions & 17 deletions src/workbench/browser/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,4 @@
}
</style>

<!-- GrowingIO Analytics code version 2.1 -->
<!-- Copyright 2015-2018 GrowingIO, Inc. More info available at http://www.growingio.com -->

<script type='text/javascript'>
!function(e,t,n,g,i){e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},n=t.createElement("script"),tag=t.getElementsByTagName("script")[0],n.defer=1,n.src=('https:'==document.location.protocol?'https://':'http://')+g,tag.parentNode.insertBefore(n,tag)}(window,document,"script","assets.giocdn.com/2.1/gio.js","gio");
gio('init','bd7645ddc19400a8', {});

//custom page code begin here

//custom page code end here

gio('send');

</script>

<!-- End GrowingIO Analytics code version: 2.1 -->

</html>

0 comments on commit b1c28c5

Please sign in to comment.