From 971409ea1f1726a0e1c7e83bb7d15b855ef4b23b Mon Sep 17 00:00:00 2001 From: WU731642061 <731642061@163.com> Date: Thu, 8 Mar 2018 17:20:34 +0800 Subject: [PATCH] Update README.md In example part, vapid_claims={ "sub": "YourNameHere@example.org", } It will lead to an error which lacks "mailto" fields. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e295a7a..42fe978 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ try: data="Mary had a little lamb, with a nice mint jelly", vapid_private_key="path/to/vapid_private.pem", vapid_claims={ - "sub": "YourNameHere@example.org", + "sub": "mailto:YourNameHere@example.org", } ) except WebPushException as ex: