https://kotlinlang.org logo
#kobweb
Title
# kobweb
f

Funyinoluwa Kashimawo

10/01/2023, 4:23 PM
Hi @David Herman I noticed that routes are case sensitive. Is there away to redirect all incoming requests to lowercase?
d

David Herman

10/01/2023, 5:38 PM
Check out the docs on `addRouteInterceptor`
In your case I think it would just look like
path = path.lowercase()
f

Funyinoluwa Kashimawo

10/01/2023, 6:04 PM
Thanks, it worked.
d

David Herman

10/01/2023, 6:29 PM
Great, and you're welcome!
2 Views