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
Searched both open and closed issues for duplicates of this issue
Title adequately and concisely reflects the feature or the bug
Feature Request
Use Case
It would be super cool if we could just use the serve-static plugin from the express ecosystem instead of continuing to invest in maintaining a parallel (and broken) internal serveStatic plugin.
Would this allow us to have say a static folder with some files served that way and the rest of the routes served by Restify itself?
My use case is that a pretty common scenario is to have a bunch of static files i'd like to serve, robots.txt, analytics auth and so on and the easiest way would be to have a static folder with that, and all the other routes just configured as per usual.
Feature Request
Use Case
It would be super cool if we could just use the serve-static plugin from the express ecosystem instead of continuing to invest in maintaining a parallel (and broken) internal serveStatic plugin.
Example API
It also looks like we need to support the
req.originalUrl
pattern similar to express: https://github.com/expressjs/express/blob/c0136d8b48dd3526c58b2ad8666fb4b12b55116c/lib/router/index.js#L172Are you willing and able to implement this?
Yup!
The text was updated successfully, but these errors were encountered: