diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index eff1da5..47f3fcd 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -4,8 +4,13 @@ const lang = 'zh-CN' const ogDescription = 'OPQ 文档站' const ogImage = 'https://cdn.jsdelivr.net/gh/opq-osc/opq-helper@main/images/opq.1200x630.v2.jpg' const ogTitle = ogDescription -const siteBase = '/opq-helper/' -const ogUrl = `https://opq-osc.github.io${siteBase}` + +// GitHub Pages +// const siteBase = '/opq-helper/' +// const ogUrl = `https://opq-osc.github.io${siteBase}` + +// Official Site +const ogUrl = 'https://opqbot.com/' const year = new Date().getFullYear() @@ -28,7 +33,7 @@ export default defineConfig({ description: ogDescription, lang, lastUpdated: true, - base: siteBase, + // base: siteBase, head: [ ['link', { rel: 'icon', href: '/favicon.png' }],