Skip to content

Commit

Permalink
chore: Update robots.txt and sitemap configuration; remove unnecessar…
Browse files Browse the repository at this point in the history
…y disallow rules
  • Loading branch information
SivaramPg committed Dec 19, 2024
1 parent 25023bc commit 6f895b2
Show file tree
Hide file tree
Showing 7 changed files with 279 additions and 668 deletions.
17 changes: 2 additions & 15 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,8 @@
const sitemapConfig = {
siteUrl: "https://swapi.info",
generateIndexSitemap: false,
exclude: [
"/api/*",
"/films",
"/films/*",
"/people",
"/people/*",
"/planets",
"/planets/*",
"/species",
"/species/*",
"/starships",
"/starships/*",
"/vehicles",
"/vehicles/*",
],
changefreq: "monthly",
exclude: ["/api*"],
}

module.exports = sitemapConfig
Loading

0 comments on commit 6f895b2

Please sign in to comment.