When I hit a route that doesn\'t exist on my Meteor app that uses IR, I get a 200 response with an HTML that (when rendered on a browser) displays a js error on
200
I find this much easier way to show page not found. In router.js
Router.configure({ layoutTemplate: "layout", loadingTemplate: "loading", notFoundTemplate: "notFound" })
Here "notFound" could be any template where you want to show 404 error