From 65c85ea9229e141e10b5544521182e81f1ae67a2 Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Sat, 19 Oct 2024 03:39:28 -0500 Subject: [PATCH] fix 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 +}