Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kings1990 committed Jan 9, 2025
1 parent a0dcb2b commit f81227e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export default defineUserConfig({
{},
`
(function() {
if (location.href.indexOf('gitee.io') > -1 || location.href.indexOf('sheng90.wang') > -1 || || location.href.indexOf('api-buddy.cn') > -1) {
window.location.href = 'https://api-buddy.com';
if (location.href.indexOf('gitee.io') > -1 || location.href.indexOf('sheng90.wang') > -1) {
window.location.href = 'https://api-buddy.cn';
}
})();
`,
Expand Down
1 change: 1 addition & 0 deletions docs/.vuepress/public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strip-html-suffixes=false

0 comments on commit f81227e

Please sign in to comment.