end
This commit is contained in:
@@ -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()
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user