Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 403 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 403 Bytes

example

Access index.html

Replace the public VAPID key in index.html.

Use a tool such as SimpleHTTPServer to run a web server:

python3 -m http.server 8000

Go to http://localhost:8000 and copy the logged subsciption from the console.

Test send a notification

Replace the public/private VAPID keys. Use the subscription you had from the first section.

go run main.go