How to make routes case insensitive |
I've create API on CI4 and set all the routes then found out that all routes are case sensitive though I want to ignore case and match either way, how do I do it?
This should be routed with www.mydomain.com/api www.mydomain.com/Api $routes->group('api', function ($routes) { $routes->post('/', 'MyController::myFunction'); }); |
Messages In This Thread |
How to make routes case insensitive - by UzairAli001 - 03-26-2021, 11:20 AM
RE: How to make routes case insensitive - by UzairAli001 - 03-27-2021, 12:16 PM
RE: How to make routes case insensitive - by InsiteFX - 03-28-2021, 11:20 AM
RE: How to make routes case insensitive - by UzairAli001 - 03-28-2021, 12:21 PM
RE: How to make routes case insensitive - by John_Betong - 03-28-2021, 07:56 PM
|