Skip to content

Commit 591c084

Browse files
committed
Merge branch 'safari-like-browser-option' into master-3.2.1-with-custom
2 parents cd5c1bb + 277f14c commit 591c084

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

push_notifications/conf/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def _validate_wp_config(self, application_id, application_config):
218218
"OPERA": "https://fcm.googleapis.com/fcm/send",
219219
"EDGE": "https://wns2-par02p.notify.windows.com/w",
220220
"FIREFOX": "https://updates.push.services.mozilla.com/wpush/v2",
221+
"SAFARI": "https://web.push.apple.com",
221222
})
222223
application_config.setdefault("TTL", 300)
223224
application_config.setdefault("ERROR_TIMEOUT", 1)

push_notifications/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
("CHROME", "Chrome"),
1515
("FIREFOX", "Firefox"),
1616
("OPERA", "Opera"),
17-
("EDGE", "Edge")
17+
("EDGE", "Edge"),
18+
("SAFARI", "Safari")
1819
)
1920

2021

push_notifications/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"OPERA": PUSH_NOTIFICATIONS_SETTINGS["FCM_POST_URL"],
3939
"FIREFOX": "https://updates.push.services.mozilla.com/wpush/v2",
4040
"EDGE": "https://wns2-par02p.notify.windows.com/w",
41+
"SAFARI": "https://web.push.apple.com",
4142
})
4243
PUSH_NOTIFICATIONS_SETTINGS.setdefault("WP_PRIVATE_KEY", None)
4344
PUSH_NOTIFICATIONS_SETTINGS.setdefault("WP_CLAIMS", None)

0 commit comments

Comments
 (0)