Join Slack
Powered by
Hi <@U02AB5P2XU6> I noticed that routes are case s...
# 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`
David Herman
10/01/2023, 5:38 PM
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
Open in Slack
Previous
Next