{"action":"created","issue":{"url":"https://api.github.com/repos/rossta/serviceworker-rails/issues/45","repository_url":"https://api.github.com/repos/rossta/serviceworker-rails","labels_url":"https://api.github.com/repos/rossta/serviceworker-rails/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/rossta/serviceworker-rails/issues/45/comments","events_url":"https://api.github.com/repos/rossta/serviceworker-rails/issues/45/events","html_url":"https://github.com/rossta/serviceworker-rails/issues/45","id":266787501,"number":45,"title":"failed to Update VAPID_PUBLIC_KEY Environment variable in production?","user":{"login":"calvinsug","id":8321042,"avatar_url":"https://avatars3.githubusercontent.com/u/8321042?v=4","gravatar_id":"","url":"https://api.github.com/users/calvinsug","html_url":"https://github.com/calvinsug","followers_url":"https://api.github.com/users/calvinsug/followers","following_url":"https://api.github.com/users/calvinsug/following{/other_user}","gists_url":"https://api.github.com/users/calvinsug/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinsug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinsug/subscriptions","organizations_url":"https://api.github.com/users/calvinsug/orgs","repos_url":"https://api.github.com/users/calvinsug/repos","events_url":"https://api.github.com/users/calvinsug/events{/privacy}","received_events_url":"https://api.github.com/users/calvinsug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-19T10:03:27Z","updated_at":"2017-10-19T21:40:21Z","closed_at":null,"author_association":"NONE","body":"Hi, i'm trying to implement serviceworker-rails in my web application, i have successfully implement it in my localhost, (i got the webpush notifications), but when i try to push it in my production (heroku and AWS), and i set my public key, it doesn't work (same with localhost public_key),\r\n\r\nthen, i try to generate a new public_key and private_key.\r\nWhen i check my ENV variable in my heroku console, it has been changed, but when i go to my web app, and i print my ENV public_key in my console, i got the same key with the previous key, i have restart my heroku, turn on the maintenance mode, but still, it doesn't work\r\n\r\nwhat should i do to force change the env variable in my script? \r\n"},"comment":{"url":"https://api.github.com/repos/rossta/serviceworker-rails/issues/comments/338045956","html_url":"https://github.com/rossta/serviceworker-rails/issues/45#issuecomment-338045956","issue_url":"https://api.github.com/repos/rossta/serviceworker-rails/issues/45","id":338045956,"user":{"login":"rossta","id":11673,"avatar_url":"https://avatars1.githubusercontent.com/u/11673?v=4","gravatar_id":"","url":"https://api.github.com/users/rossta","html_url":"https://github.com/rossta","followers_url":"https://api.github.com/users/rossta/followers","following_url":"https://api.github.com/users/rossta/following{/other_user}","gists_url":"https://api.github.com/users/rossta/gists{/gist_id}","starred_url":"https://api.github.com/users/rossta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossta/subscriptions","organizations_url":"https://api.github.com/users/rossta/orgs","repos_url":"https://api.github.com/users/rossta/repos","events_url":"https://api.github.com/users/rossta/events{/privacy}","received_events_url":"https://api.github.com/users/rossta/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T21:40:21Z","updated_at":"2017-10-19T21:40:21Z","author_association":"OWNER","body":"Hmm, hard to say without looking at the code. Any snippets you can share? What error messages are you seeing?"}}
{"actor":{"display_login":"rossta"}}