Stuff fails kinda silently right now. It might be nice to return why you are getting a 404 from the middleware to help you debug. - only in dev env?? - have it tell you what it was looking for and where?