From a69438a4c0d83f21095f7259fbc568383f860992 Mon Sep 17 00:00:00 2001 From: Taylor Beseda Date: Mon, 12 Dec 2022 18:39:50 -0700 Subject: [PATCH] Update webfinger.mjs --- app/api/.well-known/webfinger.mjs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/api/.well-known/webfinger.mjs b/app/api/.well-known/webfinger.mjs index 3ebd05d9..42d0a9c3 100644 --- a/app/api/.well-known/webfinger.mjs +++ b/app/api/.well-known/webfinger.mjs @@ -37,11 +37,10 @@ export async function get({ query }) { headers: { 'Content-Type': 'application/jrd+json; charset=utf-8', }, - json: axol, + body: JSON.stringify(axol), } : { - headers: { 'Content-Type': 'text/plain' }, - body: 'Not found', + text: 'Not found', statusCode: 404, } }