Skip to content

Commit

Permalink
更新国内镜像地址
Browse files Browse the repository at this point in the history
  • Loading branch information
onresize committed Jun 13, 2024
1 parent 3b174f1 commit 15c20d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/config/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ export default [
},
{
text: '🚀国内镜像 🇨🇳',
link: 'https://onresize.gitee.io/web-blogs',
link: 'https://web-blogs-embrance-t-59e6df9d980ba7c216f8993005a68b570df639f055.gitlab.io/',
},
]
7 changes: 3 additions & 4 deletions docs/.vuepress/public/static/js/auto-upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
s = document.createElement('script')
s.type = 'text/javascript'
s.id = 'version-polling'
s.src =
console.repo === 'github'
? '/web-blogs/static/js/version-polling.js'
: '/static/js/version-polling.js'
s.src = location.href.includes('github.io')
? '/web-blogs/static/js/version-polling.js'
: '/static/js/version-polling.js'

t = document.getElementsByTagName('script')[0]
t.parentNode.appendChild(s, t)
Expand Down

0 comments on commit 15c20d5

Please sign in to comment.