You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gatsby-plugin-sitemap includes dev-404-page, offline-plugin-app-shell-fallback, 404 and 404.html in generated sitemap. See comment on Issue #4562 by @prince0203
Steps to reproduce
Include gatsby-plugin-sitemap in gatsby-config.js with the following GraphQL query:
Hey @madcatsu, would you be interested in submitting PR updating defaults? Or maybe even better - adjusting code so it matches for both paths with trailing slash and without one?
@pieh I believe this one might be best left to someone with more experience in contributing to Gatsby following the standard process. I'd be happy to just fork and submit a PR with @prince0203 proposed changes if someone else has time to test otherwise.
rmehner
added a commit
to rmehner/gatsby
that referenced
this issue
Mar 22, 2018
Description
gatsby-plugin-sitemap includes
dev-404-page
,offline-plugin-app-shell-fallback
,404
and404.html
in generated sitemap. See comment on Issue #4562 by @prince0203Steps to reproduce
Include gatsby-plugin-sitemap in gatsby-config.js with the following GraphQL query:
Expected result
404 and offline service worker pages should be excluded from the generated sitemap.xml
Actual result
Dev, 404 and service worker fallback pages were included in the sitemap.xml
Environment
npm list gatsby
): 1.9.158gatsby --version
): 1.1.40File contents (if changed):
gatsby-config.js
:package.json
:gatsby-node.js
:gatsby-browser.js
:gatsby-ssr.js
:The text was updated successfully, but these errors were encountered: