Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
AndaBrown authored Nov 17, 2024
1 parent 89c80b9 commit 26014ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ export default defineUserConfig({
['noscript', {}, `<p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/101396814ns.gif" /></p>`],
['script', {}, `!function(){var t,o,c,e=window,n=document,r=arguments,a="script",i=["call","cancelAction","config","identify","push","track","trackClick","trackForm","update","visit"],s=function(){var t,o=this,c=function(t){o[t]=function(){return o._e.push([t].concat(Array.prototype.slice.call(arguments,0))),o}};for(o._e=[],t=0;t<i.length;t++)c(i[t])};for(e.__woo=e.__woo||{},t=0;t<r.length;t++)e.__woo[r[t]]=e[r[t]]=e[r[t]]||new s;(o=n.createElement(a)).async=1,o.src="https://static.woopra.com/js/w.js",(c=n.getElementsByTagName(a)[0]).parentNode.insertBefore(o,c)}("woopra"); woopra.config({ domain: "tgnav.github.io", outgoing_tracking: true, download_tracking: true, click_tracking: true }); woopra.track();`],
['script', {async: true, src: 'https://telegram.org/js/telegram-web-app.js' }],
['script', {}, `start_param
let startParam = window.Telegram.WebApp.initDataUnsafe.start_param; let domain = window.location.hostname; if (!startParam) { window.location.href = domain + '/tgwiki'; } else { console.log(startParam); window.location.href = domain
['script', {}, `let startParam = window.Telegram.WebApp.initDataUnsafe.start_param; let domain = window.location.hostname; if (!startParam) { window.location.href = domain + '/tgwiki'; } else { console.log(startParam); window.location.href = domain
+ '/tgwiki/' +startParam;
}`],
],
Expand Down

0 comments on commit 26014ac

Please sign in to comment.