I used simple:json-routes to define a server side route which displays part of a collection as JSON. When I go to the route on localhost the JSON is nicely formatted. However, when I deploy to the meteor server it just displays as one long text.
I am not really sure why this is happening. The main difference between my app deployed vs on localhost is the force-ssl package. Would that affect the formatting of the JSON in a server-side route?