Devographics / Monorepo

Monorepo containing the State of JS apps
surveyform-sigma.vercel.app
Other
125 stars 50 forks source link

Route collision between [responseId] and read-only #224

Closed SachaG closed 1 year ago

SachaG commented 1 year ago

http://localhost:3000/en-US/survey/state-of-js/2022/read-only/1 should match the read-only route but it matches the [responseId] one instead, it seems.

eric-burel commented 1 year ago

I've changed the behaviour like so:

I've kept separated folders, because "outline" slightly differs: it doesn't have a "finish" page for instance.