From 858800ad2d2944172970a52e6e4b2f636a5cb1c0 Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Thu, 7 Nov 2024 01:09:23 -0600 Subject: [PATCH] lint Signed-off-by: eternal-flame-AD --- packages/backend/src/server/hsts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/server/hsts.ts b/packages/backend/src/server/hsts.ts index d8f606b8bb..6c4a3005dc 100644 --- a/packages/backend/src/server/hsts.ts +++ b/packages/backend/src/server/hsts.ts @@ -20,11 +20,11 @@ export function makeHstsHook(host: string, preload: boolean = false): onRequestH reply.header('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'); } done(); - } + }; } else { return (request, reply, done) => { reply.header('strict-transport-security', 'max-age=15552000'); done(); - } + }; } -} \ No newline at end of file +}