Using http-proxy as final catch all

6 views
Skip to first unread message

Async Sean

unread,
Jan 12, 2017, 6:54:59 AM1/12/17
to LoopbackJS
I am new to Loopback but quite happy with it so far.

I have successfully setup a catch all http-proxy app.use in server.js. That works fine but precludes routes and static routes specified in middleware.js.

How can I put this app.use after the routes have completed in middleware.json? I think I need to do something in server/middleware directory and add it to routes but am a bit mystified as to the details.

Thanks

Reply all
Reply to author
Forward
0 new messages