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
In 0.0.24 there is a bug where unless you instantiate your regular express string as a RegExp object, the
if(group.route.test(req.url))
within the settings.forEach loop will error out stating that group.route does not have a method test. You can currently get around this by instantiating your regex as a RegExp object in the config by doing new RegExp(your regex string).
Either it should be instantiated by the plugin as a RegExp object or the example should be changed to show that you must instantiate it yourself.
The text was updated successfully, but these errors were encountered:
In 0.0.24 there is a bug where unless you instantiate your regular express string as a RegExp object, the
if(group.route.test(req.url))
within the settings.forEach loop will error out stating that group.route does not have a method test. You can currently get around this by instantiating your regex as a RegExp object in the config by doing new RegExp(your regex string).
Either it should be instantiated by the plugin as a RegExp object or the example should be changed to show that you must instantiate it yourself.
The text was updated successfully, but these errors were encountered: