Problem/Current Functionality
Routing on the frontend works when navigating from the homepage; however, refreshing the page or initially loading the portal at a child page results in a 404.
Solution
Change the Vercel runtime from @now/static-build to @now/next. This also puts all content output at the root, so the frontend prefix in routing must also be removed.
Acceptance Criteria / User Stories
The routing should behave normally and not result in any incorrect 404s.
Problem/Current Functionality Routing on the frontend works when navigating from the homepage; however, refreshing the page or initially loading the portal at a child page results in a 404. Solution Change the Vercel runtime from
@now/static-build
to@now/next
. This also puts all content output at the root, so thefrontend
prefix in routing must also be removed. Acceptance Criteria / User Stories The routing should behave normally and not result in any incorrect 404s.