{"action":"created","comment":{"url":"https://api.github.com/repos/debugger22/github-audio/pulls/comments/82527431","pull_request_review_id":3429805,"id":82527431,"diff_hunk":"@@ -32,7 +32,8 @@ var svg_background_color_online = '#0288D1',\n \n \n \n-var socket = io(document.location.hostname);\n+var socketHost = document.location.hostname + \":\" + document.location.port;","path":"app/public/js/main.js","position":5,"original_position":5,"commit_id":"3210cb40865fc2409efca303a8c00e7afa8bfea3","original_commit_id":"3210cb40865fc2409efca303a8c00e7afa8bfea3","user":{"login":"mcornella","id":1441704,"avatar_url":"https://avatars.githubusercontent.com/u/1441704?v=3","gravatar_id":"","url":"https://api.github.com/users/mcornella","html_url":"https://github.com/mcornella","followers_url":"https://api.github.com/users/mcornella/followers","following_url":"https://api.github.com/users/mcornella/following{/other_user}","gists_url":"https://api.github.com/users/mcornella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcornella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcornella/subscriptions","organizations_url":"https://api.github.com/users/mcornella/orgs","repos_url":"https://api.github.com/users/mcornella/repos","events_url":"https://api.github.com/users/mcornella/events{/privacy}","received_events_url":"https://api.github.com/users/mcornella/received_events","type":"User","site_admin":false},"body":"I've fixed this on my end, using just `document.location.host` which includes the port: 75451ca.","created_at":"2016-10-09T17:44:37Z","updated_at":"2016-10-09T17:44:37Z","html_url":"https://github.com/debugger22/github-audio/pull/26#discussion_r82527431","pull_request_url":"https://api.github.com/repos/debugger22/github-audio/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/debugger22/github-audio/pulls/comments/82527431"},"html":{"href":"https://github.com/debugger22/github-audio/pull/26#discussion_r82527431"},"pull_request":{"href":"https://api.github.com/repos/debugger22/github-audio/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/debugger22/github-audio/pulls/26","id":88557140,"html_url":"https://github.com/debugger22/github-audio/pull/26","diff_url":"https://github.com/debugger22/github-audio/pull/26.diff","patch_url":"https://github.com/debugger22/github-audio/pull/26.patch","issue_url":"https://api.github.com/repos/debugger22/github-audio/issues/26","number":26,"state":"open","locked":false,"title":"Allow custom events URL via GITHUB_EVENTS_URL.","user":{"login":"erikzaadi","id":77775,"avatar_url":"https://avatars.githubusercontent.com/u/77775?v=3","gravatar_id":"","url":"https://api.github.com/users/erikzaadi","html_url":"https://github.com/erikzaadi","followers_url":"https://api.github.com/users/erikzaadi/followers","following_url":"https://api.github.com/users/erikzaadi/following{/other_user}","gists_url":"https://api.github.com/users/erikzaadi/gists{/gist_id}","starred_url":"https://api.github.com/users/erikzaadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikzaadi/subscriptions","organizations_url":"https://api.github.com/users/erikzaadi/orgs","repos_url":"https://api.github.com/users/erikzaadi/repos","events_url":"https://api.github.com/users/erikzaadi/events{/privacy}","received_events_url":"https://api.github.com/users/erikzaadi/received_events","type":"User","site_admin":false},"body":"Allow fetching custom events, by setting the `GITHUB_EVENTS_URL` environment variable.\r\nThe value of `GITHUB_EVENTS_URL` can be anyone of the URLs listed [here](https://developer.github.com/v3/activity/events/).\r\n\r\nAlso added: \r\n* Port to socket.io initialization to fix local development\r\n* Gravatar suppurt","created_at":"2016-10-08T19:54:17Z","updated_at":"2016-10-09T17:44:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2e67fe3e8ea51ea42b041dad3b1329a04c9eafa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/debugger22/github-audio/pulls/26/commits","review_comments_url":"https://api.github.com/repos/debugger22/github-audio/pulls/26/comments","review_comment_url":"https://api.github.com/repos/debugger22/github-audio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/debugger22/github-audio/issues/26/comments","statuses_url":"https://api.github.com/repos/debugger22/github-audio/statuses/3210cb40865fc2409efca303a8c00e7afa8bfea3","head":{"label":"erikzaadi:master","ref":"master","sha":"3210cb40865fc2409efca303a8c00e7afa8bfea3","user":{"login":"erikzaadi","id":77775,"avatar_url":"https://avatars.githubusercontent.com/u/77775?v=3","gravatar_id":"","url":"https://api.github.com/users/erikzaadi","html_url":"https://github.com/erikzaadi","followers_url":"https://api.github.com/users/erikzaadi/followers","following_url":"https://api.github.com/users/erikzaadi/following{/other_user}","gists_url":"https://api.github.com/users/erikzaadi/gists{/gist_id}","starred_url":"https://api.github.com/users/erikzaadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikzaadi/subscriptions","organizations_url":"https://api.github.com/users/erikzaadi/orgs","repos_url":"https://api.github.com/users/erikzaadi/repos","events_url":"https://api.github.com/users/erikzaadi/events{/privacy}","received_events_url":"https://api.github.com/users/erikzaadi/received_events","type":"User","site_admin":false},"repo":{"id":70352183,"name":"github-audio","full_name":"erikzaadi/github-audio","owner":{"login":"erikzaadi","id":77775,"avatar_url":"https://avatars.githubusercontent.com/u/77775?v=3","gravatar_id":"","url":"https://api.github.com/users/erikzaadi","html_url":"https://github.com/erikzaadi","followers_url":"https://api.github.com/users/erikzaadi/followers","following_url":"https://api.github.com/users/erikzaadi/following{/other_user}","gists_url":"https://api.github.com/users/erikzaadi/gists{/gist_id}","starred_url":"https://api.github.com/users/erikzaadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikzaadi/subscriptions","organizations_url":"https://api.github.com/users/erikzaadi/orgs","repos_url":"https://api.github.com/users/erikzaadi/repos","events_url":"https://api.github.com/users/erikzaadi/events{/privacy}","received_events_url":"https://api.github.com/users/erikzaadi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikzaadi/github-audio","description":"Listen to music generated by events happening across GitHub 🎷🎸","fork":true,"url":"https://api.github.com/repos/erikzaadi/github-audio","forks_url":"https://api.github.com/repos/erikzaadi/github-audio/forks","keys_url":"https://api.github.com/repos/erikzaadi/github-audio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikzaadi/github-audio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikzaadi/github-audio/teams","hooks_url":"https://api.github.com/repos/erikzaadi/github-audio/hooks","issue_events_url":"https://api.github.com/repos/erikzaadi/github-audio/issues/events{/number}","events_url":"https://api.github.com/repos/erikzaadi/github-audio/events","assignees_url":"https://api.github.com/repos/erikzaadi/github-audio/assignees{/user}","branches_url":"https://api.github.com/repos/erikzaadi/github-audio/branches{/branch}","tags_url":"https://api.github.com/repos/erikzaadi/github-audio/tags","blobs_url":"https://api.github.com/repos/erikzaadi/github-audio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikzaadi/github-audio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikzaadi/github-audio/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikzaadi/github-audio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikzaadi/github-audio/statuses/{sha}","languages_url":"https://api.github.com/repos/erikzaadi/github-audio/languages","stargazers_url":"https://api.github.com/repos/erikzaadi/github-audio/stargazers","contributors_url":"https://api.github.com/repos/erikzaadi/github-audio/contributors","subscribers_url":"https://api.github.com/repos/erikzaadi/github-audio/subscribers","subscription_url":"https://api.github.com/repos/erikzaadi/github-audio/subscription","commits_url":"https://api.github.com/repos/erikzaadi/github-audio/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikzaadi/github-audio/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikzaadi/github-audio/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikzaadi/github-audio/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikzaadi/github-audio/contents/{+path}","compare_url":"https://api.github.com/repos/erikzaadi/github-audio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikzaadi/github-audio/merges","archive_url":"https://api.github.com/repos/erikzaadi/github-audio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikzaadi/github-audio/downloads","issues_url":"https://api.github.com/repos/erikzaadi/github-audio/issues{/number}","pulls_url":"https://api.github.com/repos/erikzaadi/github-audio/pulls{/number}","milestones_url":"https://api.github.com/repos/erikzaadi/github-audio/milestones{/number}","notifications_url":"https://api.github.com/repos/erikzaadi/github-audio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikzaadi/github-audio/labels{/name}","releases_url":"https://api.github.com/repos/erikzaadi/github-audio/releases{/id}","deployments_url":"https://api.github.com/repos/erikzaadi/github-audio/deployments","created_at":"2016-10-08T19:12:38Z","updated_at":"2016-10-08T19:12:39Z","pushed_at":"2016-10-09T08:30:25Z","git_url":"git://github.com/erikzaadi/github-audio.git","ssh_url":"git@github.com:erikzaadi/github-audio.git","clone_url":"https://github.com/erikzaadi/github-audio.git","svn_url":"https://github.com/erikzaadi/github-audio","homepage":"https://github.audio","size":2300,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"debugger22:master","ref":"master","sha":"684dd31b6027dea89582339c89e9ebd679d3b5d8","user":{"login":"debugger22","id":2821646,"avatar_url":"https://avatars.githubusercontent.com/u/2821646?v=3","gravatar_id":"","url":"https://api.github.com/users/debugger22","html_url":"https://github.com/debugger22","followers_url":"https://api.github.com/users/debugger22/followers","following_url":"https://api.github.com/users/debugger22/following{/other_user}","gists_url":"https://api.github.com/users/debugger22/gists{/gist_id}","starred_url":"https://api.github.com/users/debugger22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debugger22/subscriptions","organizations_url":"https://api.github.com/users/debugger22/orgs","repos_url":"https://api.github.com/users/debugger22/repos","events_url":"https://api.github.com/users/debugger22/events{/privacy}","received_events_url":"https://api.github.com/users/debugger22/received_events","type":"User","site_admin":false},"repo":{"id":69658054,"name":"github-audio","full_name":"debugger22/github-audio","owner":{"login":"debugger22","id":2821646,"avatar_url":"https://avatars.githubusercontent.com/u/2821646?v=3","gravatar_id":"","url":"https://api.github.com/users/debugger22","html_url":"https://github.com/debugger22","followers_url":"https://api.github.com/users/debugger22/followers","following_url":"https://api.github.com/users/debugger22/following{/other_user}","gists_url":"https://api.github.com/users/debugger22/gists{/gist_id}","starred_url":"https://api.github.com/users/debugger22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debugger22/subscriptions","organizations_url":"https://api.github.com/users/debugger22/orgs","repos_url":"https://api.github.com/users/debugger22/repos","events_url":"https://api.github.com/users/debugger22/events{/privacy}","received_events_url":"https://api.github.com/users/debugger22/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/debugger22/github-audio","description":"Listen to music generated by events happening across GitHub 🎷🎸","fork":false,"url":"https://api.github.com/repos/debugger22/github-audio","forks_url":"https://api.github.com/repos/debugger22/github-audio/forks","keys_url":"https://api.github.com/repos/debugger22/github-audio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/debugger22/github-audio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/debugger22/github-audio/teams","hooks_url":"https://api.github.com/repos/debugger22/github-audio/hooks","issue_events_url":"https://api.github.com/repos/debugger22/github-audio/issues/events{/number}","events_url":"https://api.github.com/repos/debugger22/github-audio/events","assignees_url":"https://api.github.com/repos/debugger22/github-audio/assignees{/user}","branches_url":"https://api.github.com/repos/debugger22/github-audio/branches{/branch}","tags_url":"https://api.github.com/repos/debugger22/github-audio/tags","blobs_url":"https://api.github.com/repos/debugger22/github-audio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/debugger22/github-audio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/debugger22/github-audio/git/refs{/sha}","trees_url":"https://api.github.com/repos/debugger22/github-audio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/debugger22/github-audio/statuses/{sha}","languages_url":"https://api.github.com/repos/debugger22/github-audio/languages","stargazers_url":"https://api.github.com/repos/debugger22/github-audio/stargazers","contributors_url":"https://api.github.com/repos/debugger22/github-audio/contributors","subscribers_url":"https://api.github.com/repos/debugger22/github-audio/subscribers","subscription_url":"https://api.github.com/repos/debugger22/github-audio/subscription","commits_url":"https://api.github.com/repos/debugger22/github-audio/commits{/sha}","git_commits_url":"https://api.github.com/repos/debugger22/github-audio/git/commits{/sha}","comments_url":"https://api.github.com/repos/debugger22/github-audio/comments{/number}","issue_comment_url":"https://api.github.com/repos/debugger22/github-audio/issues/comments{/number}","contents_url":"https://api.github.com/repos/debugger22/github-audio/contents/{+path}","compare_url":"https://api.github.com/repos/debugger22/github-audio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/debugger22/github-audio/merges","archive_url":"https://api.github.com/repos/debugger22/github-audio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/debugger22/github-audio/downloads","issues_url":"https://api.github.com/repos/debugger22/github-audio/issues{/number}","pulls_url":"https://api.github.com/repos/debugger22/github-audio/pulls{/number}","milestones_url":"https://api.github.com/repos/debugger22/github-audio/milestones{/number}","notifications_url":"https://api.github.com/repos/debugger22/github-audio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/debugger22/github-audio/labels{/name}","releases_url":"https://api.github.com/repos/debugger22/github-audio/releases{/id}","deployments_url":"https://api.github.com/repos/debugger22/github-audio/deployments","created_at":"2016-09-30T10:34:12Z","updated_at":"2016-10-09T17:27:39Z","pushed_at":"2016-10-09T17:34:08Z","git_url":"git://github.com/debugger22/github-audio.git","ssh_url":"git@github.com:debugger22/github-audio.git","clone_url":"https://github.com/debugger22/github-audio.git","svn_url":"https://github.com/debugger22/github-audio","homepage":"https://github.audio","size":2299,"stargazers_count":1079,"watchers_count":1079,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":9,"forks":55,"open_issues":9,"watchers":1079,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/debugger22/github-audio/pulls/26"},"html":{"href":"https://github.com/debugger22/github-audio/pull/26"},"issue":{"href":"https://api.github.com/repos/debugger22/github-audio/issues/26"},"comments":{"href":"https://api.github.com/repos/debugger22/github-audio/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/debugger22/github-audio/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/debugger22/github-audio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/debugger22/github-audio/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/debugger22/github-audio/statuses/3210cb40865fc2409efca303a8c00e7afa8bfea3"}}}}
{"actor":{"display_login":"mcornella"}}