|
@ -71,7 +71,7 @@ try: |
|
|
result = webpush(subscription_info, |
|
|
result = webpush(subscription_info, |
|
|
data, |
|
|
data, |
|
|
vapid_private_key=private_key_base64, |
|
|
vapid_private_key=private_key_base64, |
|
|
vapid_claims={"sub": "mailto:matthew.raymer@gmail.com"}) |
|
|
vapid_claims={"sub": "mailto:info@timesafari.app"}) |
|
|
print(f"Result from remote service: {result}") |
|
|
print(f"Result from remote service: {result}") |
|
|
# log the .reason from Apple |
|
|
# log the .reason from Apple |
|
|
# https://developer.apple.com/documentation/usernotifications/sending_web_push_notifications_in_web_apps_and_browsers#3994594 |
|
|
# https://developer.apple.com/documentation/usernotifications/sending_web_push_notifications_in_web_apps_and_browsers#3994594 |
|
|