Bug: Local preview for resources leads to 404 #1309
Labels
Status: Needs Triage
This issue hasn't been reviewed by maintainers yet.
Type: bug
Something isn't working
Is there an existing issue for this?
What happened?
When navigating between pages locally in the resources, they all lead to 404.
This happens because the link should be
http://localhost:9000/resources/{page}
. However, as resources lives in thecontent
folder, whenever we navigate to a page, the link will go tohttp://localhost:9000/content/resources/{page}
.I attached here the screen recording of local preview.
Note: Please be informed that this only happens for the
resources
folder. It doesn't affect themembers
andnewsletters
folders that also live in thecontent
folder.Steps To Reproduce
pnpm dev
.http://localhost:9000/resources
.What browsers are you seeing the problem on?
Chrome
Environment
Anything else?
404-on-local-preview.mp4
Code of Conduct
The text was updated successfully, but these errors were encountered: