{"action":"created","issue":{"url":"https://api.github.com/repos/maxkferg/meteor-cdn/issues/1","labels_url":"https://api.github.com/repos/maxkferg/meteor-cdn/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/maxkferg/meteor-cdn/issues/1/comments","events_url":"https://api.github.com/repos/maxkferg/meteor-cdn/issues/1/events","html_url":"https://github.com/maxkferg/meteor-cdn/issues/1","id":126360079,"number":1,"title":"Reload broken in production: sockjs/info","user":{"login":"dweldon","id":87461,"avatar_url":"https://avatars.githubusercontent.com/u/87461?v=3","gravatar_id":"","url":"https://api.github.com/users/dweldon","html_url":"https://github.com/dweldon","followers_url":"https://api.github.com/users/dweldon/followers","following_url":"https://api.github.com/users/dweldon/following{/other_user}","gists_url":"https://api.github.com/users/dweldon/gists{/gist_id}","starred_url":"https://api.github.com/users/dweldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dweldon/subscriptions","organizations_url":"https://api.github.com/users/dweldon/orgs","repos_url":"https://api.github.com/users/dweldon/repos","events_url":"https://api.github.com/users/dweldon/events{/privacy}","received_events_url":"https://api.github.com/users/dweldon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-13T07:34:27Z","updated_at":"2016-01-16T08:49:33Z","closed_at":"2016-01-16T08:49:33Z","body":"Hey this is a really helpful package! Unfortunately, when I use it in production, my apps don't reload after an update. Right after the update, it looks like the client makes a `GET` request like:\r\n\r\n`GET https://d3v9orfbcuudtl.cloudfront.net/sockjs/info?cb=i5412at9sw`\r\n\r\nWhich then throws a `No 'Access-Control-Allow-Origin'` error and breaks the reload process. Any ideas?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/maxkferg/meteor-cdn/issues/comments/172173508","html_url":"https://github.com/maxkferg/meteor-cdn/issues/1#issuecomment-172173508","issue_url":"https://api.github.com/repos/maxkferg/meteor-cdn/issues/1","id":172173508,"user":{"login":"maxkferg","id":3826946,"avatar_url":"https://avatars.githubusercontent.com/u/3826946?v=3","gravatar_id":"","url":"https://api.github.com/users/maxkferg","html_url":"https://github.com/maxkferg","followers_url":"https://api.github.com/users/maxkferg/followers","following_url":"https://api.github.com/users/maxkferg/following{/other_user}","gists_url":"https://api.github.com/users/maxkferg/gists{/gist_id}","starred_url":"https://api.github.com/users/maxkferg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxkferg/subscriptions","organizations_url":"https://api.github.com/users/maxkferg/orgs","repos_url":"https://api.github.com/users/maxkferg/repos","events_url":"https://api.github.com/users/maxkferg/events{/privacy}","received_events_url":"https://api.github.com/users/maxkferg/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T08:49:33Z","updated_at":"2016-01-16T08:49:33Z","body":"@dweldon. I made some pretty extensive changes to the way that this package handles urls on the client side. We decided to move the package to https://github.com/NitroLabs/meteor-cdn. The reload issue should no longer occur as of nitrolabs:cdn@1.2.0. \r\n\r\nFor future reference: Make sure that the HOST header is reaching the Meteor server (you will see a warning in the server logs if it doesn't). CloudFront, and some of the other CDN services, remove the HOST header to try and improve caching, but this can cause some annoying problems"}}