This commit is contained in:
Hailey
2025-03-20 14:40:50 -07:00
parent 13f75bd004
commit d45ad541ec
+1 -1
View File
@@ -8,7 +8,7 @@ export default function (ctx: AppContext, app: Express) {
'/', '/',
handler(async (_req, res) => { handler(async (_req, res) => {
res.setHeader('Location', `https://${ctx.cfg.service.appHostname}`) res.setHeader('Location', `https://${ctx.cfg.service.appHostname}`)
return res.status(301) return res.status(301).end()
}), }),
) )
} }