hack4impact-uiuc / h4i-recruitment

H4I recruitment platform
https://h4i-recruitment.vercel.app
15 stars 3 forks source link

Broken routing on frontend #382

Closed arpanlaha closed 4 years ago

arpanlaha commented 4 years ago

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.