Skip to content

Commit 3d564e4

Browse files
authored
Improve sitemap (saleor#123)
* better contrast + proper links * custom root with _document * improve the sitemap generation
1 parent 1876e7d commit 3d564e4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

apps/storefront/next-sitemap.js

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ module.exports = {
55
generateRobotsTxt: true,
66
exclude: excludedPaths + ["/[sitemap]"],
77
robotsTxtOptions: {
8-
additionalSitemaps: [process.env.NEXT_PUBLIC_VERCEL_URL + "/[sitemap]"],
98
policies: [
109
{
1110
userAgent: "*",

apps/storefront/public/robots.txt

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ Host: https://localhost:3001
1313

1414
# Sitemaps
1515
Sitemap: https://localhost:3001/sitemap.xml
16-
Sitemap: https://localhost:3001/[sitemap]

0 commit comments

Comments
 (0)