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
I want to exclude everything under /app from the sitemap, is there any way to use a function or regex on the path property of pages?
tanstackStart({prerender: {enabled: true,crawlLinks: false,},sitemap: {enabled: true,host: 'https://example.com',},pages: [{path: "/app/.*",// here, how can I exclude everything under `/app/`?sitemap: {exclude: true,},},],}),
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to exclude everything under
/appfrom the sitemap, is there any way to use a function or regex on thepathproperty ofpages?Beta Was this translation helpful? Give feedback.
All reactions