Browse Source

modify English verbiage for push-server instructions

openssl
Trent Larson 1 year ago
parent
commit
73f890beac
  1. 6
      web-push.md

6
web-push.md

@ -29,8 +29,8 @@ from the SERVICE.
The SERVICE will provide context and obtain explicit permission before prompting The SERVICE will provide context and obtain explicit permission before prompting
for notification permission: for notification permission:
In order to provide this context and explict permission a two-step opt-in process In order to provide this context and explicit permission, a two-step opt-in process
where the user is first presented with a pre-permission dialog box that explains first presents the user with a pre-permission dialog box that explains
what the notifications are for and why they are useful. This may help reduce the what the notifications are for and why they are useful. This may help reduce the
possibility of users clicking "don't allow". possibility of users clicking "don't allow".
@ -91,7 +91,7 @@ The `sw.js` file contains the logic for what a service worker should do.
It executes in a separate thread of execution from the web page but provides a It executes in a separate thread of execution from the web page but provides a
means of communicating between itself and the web page via messages. means of communicating between itself and the web page via messages.
Note that there is a scope can specify what network requests it may Note that there is a scope that can specify what network requests it may
intercept. intercept.
The Vue project already has its own service worker but it is possible to The Vue project already has its own service worker but it is possible to

Loading…
Cancel
Save