{"action":"created","issue":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/244","repository_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/244/comments","events_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/244/events","html_url":"https://github.com/OneSignal/OneSignal-Website-SDK/issues/244","id":249141737,"number":244,"title":"Not able to register the service worker","user":{"login":"SethuSenthil","id":20134046,"avatar_url":"https://avatars0.githubusercontent.com/u/20134046?v=4","gravatar_id":"","url":"https://api.github.com/users/SethuSenthil","html_url":"https://github.com/SethuSenthil","followers_url":"https://api.github.com/users/SethuSenthil/followers","following_url":"https://api.github.com/users/SethuSenthil/following{/other_user}","gists_url":"https://api.github.com/users/SethuSenthil/gists{/gist_id}","starred_url":"https://api.github.com/users/SethuSenthil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethuSenthil/subscriptions","organizations_url":"https://api.github.com/users/SethuSenthil/orgs","repos_url":"https://api.github.com/users/SethuSenthil/repos","events_url":"https://api.github.com/users/SethuSenthil/events{/privacy}","received_events_url":"https://api.github.com/users/SethuSenthil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-09T19:50:12Z","updated_at":"2017-08-09T20:18:47Z","closed_at":null,"body":"I published a simple blank website (on GitHub) to test this out. But when ever I check for subscribers, there are none so while checking the console it shows me: \r\n\r\n\"ServiceWorkerHelper.ts:127 ServiceWorker registration TypeError: Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script.\r\ne.registerError @ ServiceWorkerHelper.ts:127\""},"comment":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/comments/321369686","html_url":"https://github.com/OneSignal/OneSignal-Website-SDK/issues/244#issuecomment-321369686","issue_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/244","id":321369686,"user":{"login":"SethuSenthil","id":20134046,"avatar_url":"https://avatars0.githubusercontent.com/u/20134046?v=4","gravatar_id":"","url":"https://api.github.com/users/SethuSenthil","html_url":"https://github.com/SethuSenthil","followers_url":"https://api.github.com/users/SethuSenthil/followers","following_url":"https://api.github.com/users/SethuSenthil/following{/other_user}","gists_url":"https://api.github.com/users/SethuSenthil/gists{/gist_id}","starred_url":"https://api.github.com/users/SethuSenthil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethuSenthil/subscriptions","organizations_url":"https://api.github.com/users/SethuSenthil/orgs","repos_url":"https://api.github.com/users/SethuSenthil/repos","events_url":"https://api.github.com/users/SethuSenthil/events{/privacy}","received_events_url":"https://api.github.com/users/SethuSenthil/received_events","type":"User","site_admin":false},"created_at":"2017-08-09T20:18:47Z","updated_at":"2017-08-09T20:18:47Z","body":"FIX: Onesiginal only works on the root most part of the domain, in GitHub pages, it means publishing it on your username domain (username.github.io) not (username.github.io/some-project-repo.html)"}}
{"actor":{"display_login":"SethuSenthil"}}