AdmitHub / meteor-buildpack-horse

Heroku buildpack for Meteor v1.0+. The horse one.
MIT License
641 stars 586 forks source link

Question: How do we set HTTP Headers? #201

Closed micchickenburger closed 6 years ago

micchickenburger commented 6 years ago

How do we set HTTP headers? The Heroku Static Buildpack allows for HTTP headers in static.json. See here for more information: Using HTTP Headers to Secure Your Site

How can we set HTTP headers with this buildpack? Thank you!

yourcelf commented 6 years ago

Headers are the responsibility of the Meteor application; there's nothing intrinsic to this buildpack for setting headers.

See https://stackoverflow.com/questions/15959501/how-to-add-cors-headers-to-a-meteor-app as an example for adding headers to a response with Meteor.

micchickenburger commented 6 years ago

Thank you :)