lambda-api icon indicating copy to clipboard operation
lambda-api copied to clipboard

Registering a route without a prefix will clean out the apis entire prefix stack

Open Sleavely opened this issue 6 years ago • 0 comments

In a scenario where you use a base path and define a set of routes using api.register() without a prefix it will work... once.

If you copy that api.register() line to include another set of routes, they will be registered without the base path (or any nested prefixes). 💥

Sleavely avatar Aug 17 '19 13:08 Sleavely