How can I specify content-type in Meteor?
I've got a page that returns JSON but response header is html/text
I need to make it application/json
. I am using iron-router
and then the json is displayed through a template. I just need to change the response header for that page.
How can I do it?