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
When I name my routes with underscores, next-sitemap won't generate sitemap links for those routes (for example: /__all/categories), because in the body of function isNextInternalUrl there is a regex that will filter out all routes started with underscores.
I just want to ask whether those underscore routes are NextJs internal URLs or not? because I couldn't find any document about that on Next.js website.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I name my routes with underscores, next-sitemap won't generate sitemap links for those routes (for example:
/__all/categories
), because in the body of functionisNextInternalUrl
there is a regex that will filter out all routes started with underscores.next-sitemap/packages/next-sitemap/src/utils/url.ts
Line 19 in 3bdd0b2
I just want to ask whether those underscore routes are NextJs internal URLs or not? because I couldn't find any document about that on Next.js website.
Beta Was this translation helpful? Give feedback.
All reactions