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), })