You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to use a regex literal string in order to add a case insensitive flag and it works fine.
{from: /^\/case-insensitive-url/i, to: '/my/redirect', statusCode: 301},
This works because in the module it tries to create a regex from the string in the 'from' field. But if you already have a regex, the new RegExp() in the module code will just let it pass through untouched.
It woulb be great if case insensitive redirect pattern is supported :D
The text was updated successfully, but these errors were encountered: