Paratron / hookrouter

The flexible, and fast router for react that is entirely based on hooks
1.5k stars 90 forks source link

Making the base path case insensitive to avoid page not found issues … #120

Closed tsinghammer closed 4 years ago

tsinghammer commented 4 years ago

…with virtual directory Would it be ok for you if we make the base path case insensitive? Unfortunately we currently have to dealt with IIS application directories, and users tend to input URLs in any fashion. If you see a general problem, maybe we can make this configurable?

Paratron commented 4 years ago

This is because of the fact that windows folder names are not case sensitive. You cannot create the folders helloWorld and helloworld next to eachother. But thats windows-only and this router is not OS specific.

Paratron commented 4 years ago

But don't worry I completely rewrote the serverside stack anyways. I took a note and will add an example for the 2.0 documenation on how to get routing that ignores cases 👍