Compare commits
No commits in common. "950da269583b8dc08a5db43660a1b8ca558f097d" and "6388ca7176c23c0f43f56ebebb4bded2966c6bff" have entirely different histories.
950da26958
...
6388ca7176
@ -1,5 +1,5 @@
|
||||
[tool.bumpversion]
|
||||
current_version = "1.2.11"
|
||||
current_version = "1.2.10"
|
||||
commit = true
|
||||
tag = true
|
||||
tag_name = "{new_version}"
|
||||
|
@ -23,7 +23,6 @@ ICQ0s1x364rGswAcVVJuu8q5XgZQrBLk/lkhQBcyyuuAjc4OvJLADqEk
|
||||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2b175VdEMr874DnbBDErdO5+aoGw
|
||||
ZyAkNLNcd+uKxrMAHFVSbrvKuV4GUKwS5P5ZIUAXMsrrgI3ODrySwA6hJA==
|
||||
-----END PUBLIC KEY-----"""
|
||||
VAPID_CLAIM_EMAIL = "mailto:karl@k-world.me.uk" # Replace with your email
|
||||
SECRET_KEY = "a_very_secret_key"
|
||||
|
||||
class DevelopmentConfig(Config):
|
||||
|
@ -193,7 +193,7 @@ def send_notification(subscription_info, message_body):
|
||||
subscription_info=subscription_info,
|
||||
data=message_body,
|
||||
vapid_private_key=current_app.config["VAPID_PRIVATE_KEY"],
|
||||
vapid_claims={"sub": current_app.config["VAPID_CLAIM_EMAIL"]},
|
||||
vapid_claims={"sub": "mailto:your-email@example.com"},
|
||||
)
|
||||
except WebPushException as ex:
|
||||
print(f"Web push error: {ex}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user