This commit is contained in:
BlueSkiesAndGreenPastures
2025-06-20 14:07:16 -05:00
parent 468d32f184
commit e8f9886d15
+2 -2
View File
@@ -38,12 +38,12 @@ export default function (ctx: AppContext, app: Express) {
) { ) {
res.setHeader('Cache-Control', 'no-store') res.setHeader('Cache-Control', 'no-store')
res.setHeader('Location', `https://${ctx.cfg.service.appHostname}`) res.setHeader('Location', `https://${ctx.cfg.service.appHostname}`)
return res.status(302).end() return res.status(200).end()
} }
res.setHeader('Cache-Control', `max-age=${(7 * DAY) / SECOND}`) res.setHeader('Cache-Control', `max-age=${(7 * DAY) / SECOND}`)
res.type('html') res.type('html')
res.status(302) res.status(200)
if (ctx.cfg.service.safelinkEnabled) { if (ctx.cfg.service.safelinkEnabled) {
const rulePresent: ToolsOzoneSafelinkDefs.Event | undefined = const rulePresent: ToolsOzoneSafelinkDefs.Event | undefined =