From de3b9d0e97852333a50832f3615384baa40dcd81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milien=20Devos=20=28perso=29?= Date: Sat, 4 Mar 2023 17:53:58 +0000 Subject: [PATCH] use different domain for webhook requests --- patches/020-use-separate-domain-for-webhook-requests.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/020-use-separate-domain-for-webhook-requests.patch b/patches/020-use-separate-domain-for-webhook-requests.patch index 399e151..522c00d 100644 --- a/patches/020-use-separate-domain-for-webhook-requests.patch +++ b/patches/020-use-separate-domain-for-webhook-requests.patch @@ -16,7 +16,7 @@ index 500a2582..7f6e7691 100644 body = { - "hub.callback" => "#{HOST_URL}/feed/webhook/v1:#{time}:#{nonce}:#{OpenSSL::HMAC.hexdigest(:sha1, key, signature)}", -+ "hub.callback" => "https://static.yewtu.be/feed/webhook/v1:#{time}:#{nonce}:#{OpenSSL::HMAC.hexdigest(:sha1, key, signature)}", ++ "hub.callback" => "https://webhook.yewtu.be/feed/webhook/v1:#{time}:#{nonce}:#{OpenSSL::HMAC.hexdigest(:sha1, key, signature)}", "hub.topic" => "https://www.youtube.com/xml/feeds/videos.xml?#{topic}", "hub.verify" => "async", "hub.mode" => "subscribe",