Skip to content

Commit

Permalink
feat(sitemap): improve sitemap generation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Feb 18, 2021
1 parent 25f06e3 commit 22f7cdc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,17 +170,18 @@ export default {
sitemap: {
hostname: 'https://r34.app',

gzip: true,

defaults: {
changefreq: 'daily',
priority: 1,
priority: 0.8,
lastmod: new Date(),
lastmodrealtime: true,
},

// Static HTML files
routes: ['/privacy-policy', '/terms-of-service'],
routes: [
{ url: '/', priority: 1.0 },
{ url: '/privacy-policy', priority: 0.6 },
{ url: '/terms-of-service', priority: 0.6 },
],
},

/*
Expand Down

0 comments on commit 22f7cdc

Please sign in to comment.