ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix http signature key url
Chocobozzz038c41030858
diff --git a/server/core/lib/activitypub/send/http.ts b/server/core/lib/activitypub/send/http.tsindex 5771db9f50..7ebb5a46bf 100644--- a/server/core/lib/activitypub/send/http.ts+++ b/server/core/lib/activitypub/send/http.ts@@ -57,11 +57,10 @@ export async function buildSignedRequestOptions (options: {actor = await getServerActor()}- const keyId = actor.urlreturn {algorithm: HTTP_SIGNATURE.ALGORITHM,authorizationHeaderName: HTTP_SIGNATURE.HEADER_NAME,- keyId,+ keyId: actor.getPublicKeyUrl(),key: actor.privateKey,headers: options.hasPayload? HTTP_SIGNATURE.HEADERS_TO_SIGN_WITH_PAYLOAD