Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkettner committed Dec 21, 2023
1 parent cbaea10 commit 578c684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functional-samples/cookbook.push/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ By calling a method in the sample and using an external push server website we c
1. Go to the [web push test server](https://web-push-codelab.glitch.me/) and copy the “Public Key” to the `APPLICATION_SERVER_PUBLIC_KEY` variable in background.js.
1. Load this directory in Chrome as an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked).
1. Click “service worker (Inactive)” on the extension to load DevTools for background.js
1. In DevTools call: `await SubscribeUserVisibleOnlyFalse();`
1. In DevTools call: `await subscribeUserVisibleOnlyFalse();`
1. Copy the output after “Subscription data to be sent to the push notification server:” and paste it into the [web push test server](https://web-push-codelab.glitch.me/) inside “Subscription to Send To” text box
1. Enter some text into “Text to Send”
1. Click “SEND PUSH MESSAGE”
Expand Down

0 comments on commit 578c684

Please sign in to comment.