From c2f9efa698a135c5a31c44381256eac4f6d72648 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 19 Sep 2023 12:54:37 +0200 Subject: [PATCH] fix: make nodeinfo requests use HTTPS --- src/serviceProviders/activitypub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serviceProviders/activitypub.js b/src/serviceProviders/activitypub.js index fcc8ec2..b747a33 100644 --- a/src/serviceProviders/activitypub.js +++ b/src/serviceProviders/activitypub.js @@ -107,7 +107,7 @@ export const functions = { } const _processNodeinfo = async (/** @type {string} */ domain) => { - const nodeinfoRef = await fetch(`http://${domain}/.well-known/nodeinfo`) + const nodeinfoRef = await fetch(`https://${domain}/.well-known/nodeinfo`) .then(res => { if (res.status !== 200) { throw new Error('HTTP Status was not 200')