From 02a0db324e7023e4881ad7fb8b496611feb7f230 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Mon, 9 Oct 2023 20:47:47 -0400
Subject: [PATCH] fixed webfinger

---
 api/well-known/webfinger.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/api/well-known/webfinger.ts b/api/well-known/webfinger.ts
index b30e82ceb..14c96aee2 100644
--- a/api/well-known/webfinger.ts
+++ b/api/well-known/webfinger.ts
@@ -12,15 +12,15 @@ export default function (req: VercelRequest, res: VercelResponse) {
     apAlias = ""
   }
   res.end(`{
-    "subject": `acct:${process.env.ACTIVITYPUB_USER.toLowerCase()}@${apDomain}`,
+    "subject": \"acct:${process.env.ACTIVITYPUB_USER.toLowerCase()}@${apDomain}\",
     "aliases": [
-      `${apAlias}`
+      \"${apAlias}\"
     ],
     "links": [
       {
         "rel": "self",
         "type": "application/activity+json",
-        "href": `${process.env.ACTIVITYPUB_URL}${process.env.ACTIVITYPUB_USER.toLowerCase()}`
+        "href": \"${process.env.ACTIVITYPUB_URL}${process.env.ACTIVITYPUB_USER.toLowerCase()}\"
       }
     ]
   }`);
-- 
GitLab