Skip to content

Commit

Permalink
✨ feat: Add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Sep 20, 2024
1 parent cf18c17 commit 8a56156
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ const themeConfig = {
footer: 'Made with 🤯 by LobeHub',
giscus: {
category: 'Q&A',
categoryId: 'DIC_kwDOJloKoM4CXsCu',
repo: 'lobehub/lobe-ui',
repoId: 'R_kgDOJloKoA',
categoryId: 'DIC_kwDOKoaTlM4Cin-0',
repo: 'lobehub/lobe-tts',
repoId: 'R_kgDOKoaTlA',
},
name: 'TTS',
socialLinks: {
Expand All @@ -51,7 +51,7 @@ export default defineConfig({
define: {
'process.env': process.env,
},
favicons: ['https://npm.elemecdn.com/@lobehub/assets-favicons/assets/favicon.ico'],
favicons: ['https://lobehub.com/favicon.ico'],
locales: [
{ id: 'en-US', name: 'English' },
{ id: 'zh-CN', name: '简体中文' },
Expand All @@ -64,6 +64,9 @@ export default defineConfig({
atomDirs: [{ dir: 'src/react', type: 'component' }],
entryFile: isProduction ? './src/index.ts' : undefined,
},
sitemap: {
hostname: 'https://tts.lobehub.com',
},
styles: [
`html, body { background: transparent; }
Expand Down

0 comments on commit 8a56156

Please sign in to comment.