we load the url /_book, works... then refresh the page and it doesnt load the css. It loads the html though.
hi everybody! somebody is using that?
is it right? how can I resolve it?
I started using restify last night to flesh out a replacement for something I've been doing, within minutes I was really pleased with the results. Feels like this will make my life a tad easier, so thanks very much!
@barisbalic what were you using before?
@nelsonic you're everywhere!
Was tempted to throw express at the problem, but was expecting some impedance when it came to auth, access control, rate limiting, etc. But handlers and the call chaining will make it all trivial
Quick question: is it possible create a separate route object and then add it to a server object via use(), similar to Express? It would be nice to group routes and define middleware for that group in an isolated manner.
@mcavage I am using restify for a couple of APIs, each of which will expose an endpoint then pipe the request through a series of middlewares, some decorate the request for later stages in the pipeline, others decorate the response. I'm not particularly happy about the way I'm arbitrarily adding to the response, but I can't think of a better way to do this. I am also using the on('after') callback to actually return the response, because I always have the ready-built response by the end of the pipeline.
Hey, is the underlying Router exposed so I can chain my routes off of it, Express style?
Also, does Restify not respect the order of middleware?
hey guys, I use the audit plugin in my app. I noticed recently that there are several log entries without a remoteAddress set. Why would that be? From the little snooping of the code that I did, I saw that the audit plugin uses req.connection.remoteAddress - should I manually patch it and use the request-ip module instead?
Hi, I'm continuously getting a "405 Method Not Allowed" when using restify with aurelia. Nothing in this restify/node-restify#284 seems to do the trick. Anyone have a second to help out here?
Anyone here familiar with the 'after' event callback? I suspect it is firing before my last middleware has finished doing it's bit.