{"action":"created","issue":{"url":"https://api.github.com/repos/GRIFFINCollaboration/SpectrumViewer/issues/9","labels_url":"https://api.github.com/repos/GRIFFINCollaboration/SpectrumViewer/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/GRIFFINCollaboration/SpectrumViewer/issues/9/comments","events_url":"https://api.github.com/repos/GRIFFINCollaboration/SpectrumViewer/issues/9/events","html_url":"https://github.com/GRIFFINCollaboration/SpectrumViewer/issues/9","id":111729336,"number":9,"title":"server CORS support","user":{"login":"BillMills","id":1896943,"avatar_url":"https://avatars.githubusercontent.com/u/1896943?v=3","gravatar_id":"","url":"https://api.github.com/users/BillMills","html_url":"https://github.com/BillMills","followers_url":"https://api.github.com/users/BillMills/followers","following_url":"https://api.github.com/users/BillMills/following{/other_user}","gists_url":"https://api.github.com/users/BillMills/gists{/gist_id}","starred_url":"https://api.github.com/users/BillMills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillMills/subscriptions","organizations_url":"https://api.github.com/users/BillMills/orgs","repos_url":"https://api.github.com/users/BillMills/repos","events_url":"https://api.github.com/users/BillMills/events{/privacy}","received_events_url":"https://api.github.com/users/BillMills/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-15T23:42:35Z","updated_at":"2015-10-16T03:08:26Z","closed_at":null,"body":"Hi @AdamGarnsworthy,\r\n\r\nI'd like to fiddle with the spectrum server a bit:\r\n\r\n - Add cross origin support so we don't have to load this via script tags (use batch promises instead, better for pulling in information from multiple sources, which is something we might like to do someday).\r\n - remove JSONP wrappers (don't need them if we use CORS+promises instead).\r\n\r\nTwo questions:\r\n - Does anyone besides the spectrum viewer rely on the JSONP wrapping?\r\n - Are there deploy instructions for this? I see what looks like the server code sitting in `/home/griffin/daq/analyser/web_server.c` with compile instructions at the top, but there's no obvious executable nearby; once this is compiled, what is the preferred method for getting it going?"},"comment":{"url":"https://api.github.com/repos/GRIFFINCollaboration/SpectrumViewer/issues/comments/148586368","html_url":"https://github.com/GRIFFINCollaboration/SpectrumViewer/issues/9#issuecomment-148586368","issue_url":"https://api.github.com/repos/GRIFFINCollaboration/SpectrumViewer/issues/9","id":148586368,"user":{"login":"AdamGarnsworthy","id":5225574,"avatar_url":"https://avatars.githubusercontent.com/u/5225574?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamGarnsworthy","html_url":"https://github.com/AdamGarnsworthy","followers_url":"https://api.github.com/users/AdamGarnsworthy/followers","following_url":"https://api.github.com/users/AdamGarnsworthy/following{/other_user}","gists_url":"https://api.github.com/users/AdamGarnsworthy/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamGarnsworthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamGarnsworthy/subscriptions","organizations_url":"https://api.github.com/users/AdamGarnsworthy/orgs","repos_url":"https://api.github.com/users/AdamGarnsworthy/repos","events_url":"https://api.github.com/users/AdamGarnsworthy/events{/privacy}","received_events_url":"https://api.github.com/users/AdamGarnsworthy/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T03:08:26Z","updated_at":"2015-10-16T03:08:26Z","body":"This one seems to work: http://griffincollaboration.github.io/SpectrumViewer/\r\nbut as I tried to warn you, this one: http://grsmid00.triumf.ca:8081/CS/SpectrumViewer\r\n, the main one that we use for the experiment, is now not working because the server changed."}}