Commit 7054b616a3
Unsigned
Layout: unified · split
web/astro.config.mjs +1 −11
| @@ -5,19 +5,9 @@ import sitemap from '@astrojs/sitemap'; | ||
| 5 | 5 | import vercel from "@astrojs/vercel/serverless"; |
| 6 | 6 | // import netlify from "@astrojs/netlify"; |
| 7 | 7 | |
| 8 | const siteMapConfig = { | |
| 9 | entryLimit: 10000, | |
| 10 | changefreq: 'weekly', | |
| 11 | priority: 0.7, | |
| 12 | lastmod: new Date(), | |
| 13 | filter: (page) => { // Exclude search result pages | |
| 14 | return !page.url.startsWith('/search/') && page.url.split('/').length > 2; | |
| 15 | }, | |
| 16 | }; | |
| 17 | ||
| 18 | 8 | export default defineConfig({ |
| 19 | 9 | output: 'hybrid', |
| 20 | integrations: [svelte(), partytown(), sitemap(siteMapConfig)], | |
| 10 | integrations: [svelte(), partytown(), sitemap()], | |
| 21 | 11 | site: import.meta.env.SITE_URL || 'https://awesome-privacy.xyz', |
| 22 | 12 | adapter: vercel(), |
| 23 | 13 | // adapter: netlify(), |