From 70e9ea93873a9ebe06a32d0a3dead50ff92540ad Mon Sep 17 00:00:00 2001 From: BlueSkiesAndGreenPastures Date: Mon, 23 Jun 2025 12:14:53 -0500 Subject: [PATCH] response code fix --- bskylink/src/routes/redirect.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bskylink/src/routes/redirect.ts b/bskylink/src/routes/redirect.ts index 2077521d68..fecc36cd98 100644 --- a/bskylink/src/routes/redirect.ts +++ b/bskylink/src/routes/redirect.ts @@ -96,7 +96,7 @@ export default function (ctx: AppContext, app: Express) { escapeHTML(url.toString()), `https://${ctx.cfg.service.appHostname}`, ) - res.writeHead(403, { + res.writeHead(200, { 'Content-Type': 'text/html', 'Content-Length': Buffer.byteLength(html), }) @@ -115,7 +115,7 @@ export default function (ctx: AppContext, app: Express) { escapeHTML(url.toString()), `https://${ctx.cfg.service.appHostname}`, ) - res.writeHead(403, { + res.writeHead(200, { 'Content-Type': 'text/html', 'Content-Length': Buffer.byteLength(html), })