{"action":"opened","issue":{"url":"https://api.github.com/repos/camsci/meteor-pi/issues/47","labels_url":"https://api.github.com/repos/camsci/meteor-pi/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/camsci/meteor-pi/issues/47/comments","events_url":"https://api.github.com/repos/camsci/meteor-pi/issues/47/events","html_url":"https://github.com/camsci/meteor-pi/issues/47","id":91957151,"number":47,"title":"Move definition of API URL into index.html","user":{"login":"tomoinn","id":1400070,"avatar_url":"https://avatars.githubusercontent.com/u/1400070?v=3","gravatar_id":"","url":"https://api.github.com/users/tomoinn","html_url":"https://github.com/tomoinn","followers_url":"https://api.github.com/users/tomoinn/followers","following_url":"https://api.github.com/users/tomoinn/following{/other_user}","gists_url":"https://api.github.com/users/tomoinn/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoinn/subscriptions","organizations_url":"https://api.github.com/users/tomoinn/orgs","repos_url":"https://api.github.com/users/tomoinn/repos","events_url":"https://api.github.com/users/tomoinn/events{/privacy}","received_events_url":"https://api.github.com/users/tomoinn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/camsci/meteor-pi/labels/domain:User%20Interface","name":"domain:User Interface","color":"d4c5f9"},{"url":"https://api.github.com/repos/camsci/meteor-pi/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T02:12:17Z","updated_at":"2015-06-30T02:12:17Z","closed_at":null,"body":"The API URL is hard-coded into the javascript code, which means that when we change it we have to do the five minute gulp build. It should be in the index.html which loads all the scripts, that way changing it can be done in place with e.g. vi."}}