Move WebSub callbacks to HTTPS

This commit is contained in:
Daniel Aleksandersen 2021-03-05 17:51:57 +01:00 committed by GitHub
parent 9f8f7d39cd
commit 9082137b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ class PushSubscriptionManager(models.Manager):
# raise TypeError('callback cannot be None if there is not a reverable URL')
# else:
# # callback = 'http://' + Site.objects.get_current() + callback_path
callback = "http://push.newsblur.com/push/%s" % subscription.pk # + callback_path
callback = "https://push.newsblur.com/push/%s" % subscription.pk # + callback_path
try:
response = self._send_request(hub, {