fus-marcom / franciscan-react

A new website for Franciscan University of Steubenville built with ReactJS.
https://gcp.franciscan.university
MIT License
171 stars 80 forks source link

Update server.js routing function to handle routes with three params and same id #144

Open JesseRWeigel opened 6 years ago

JesseRWeigel commented 6 years ago

Currently there is no way to properly handle routes that have the same 1st and 3rd parameter. For example: /admissions/undergraduate/requirements/ and /admissions/online/requirements/. The routing function currently ignores the second param and will route both url's to the same page.

This fix may be tricky because any change is likely to impact other routes.