getPathname
with dynamic route in sitemap
#1204
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is my
sitemap.ts
:And these are my pathnames:
Now when I run the command
pnpm run build
the sitemap should be build. But here is where I ran into an issue. It throws this error:Beta Was this translation helpful? Give feedback.
All reactions