vercel / commerce

Next.js Commerce

Home Page:https://demo.vercel.store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Policies have broken link: 500 error

danieldanielecki opened this issue · comments

This is because the "CMS" like pages, e.g. https://demo.vercel.store/shipping-return-policy, are at the root path.

You can view the code here: https://github.com/vercel/commerce/blob/main/app/%5Bpage%5D/page.tsx

If you would like to change that path, you could change to app/policies/[page]/page.tsx.

@vitustockholm, what do you think about the answer? You know more about all the bugs this repo has, esp. around routing.