diff --git a/api/well-known/webfinger.ts b/api/well-known/webfinger.ts index 91149c4..3326843 100644 --- a/api/well-known/webfinger.ts +++ b/api/well-known/webfinger.ts @@ -10,7 +10,7 @@ export default function (req: VercelRequest, res: VercelResponse) { } // Expected format: acct:username@coderrrrr.site - const match = resource.match(/^acct:([^@]+)@coderrrrr\.site$/i); + const match = resource.match(/^acct:([^@]+)@coder\.is-a.dev$/i); if (!match) { res.status(400).json({ error: "Resource format not supported" }); return; @@ -22,7 +22,7 @@ export default function (req: VercelRequest, res: VercelResponse) { // You can add more supported usernames as needed. let profileUrl: string; if (username === "blog") { - profileUrl = "https://coderrrrr.site/@blog"; + profileUrl = "https://coder.is-a.dev/@blog"; } else { // If the username is not recognized, return a 404. res.status(404).json({ error: "User not found" });