From 3e57bdc7c8a0e5ecc5a995d62664a59af88d41f1 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Thu, 12 Sep 2024 12:15:26 +0200 Subject: [PATCH] only put all dictionary strings for app page --- website/src/hooks.server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/hooks.server.js b/website/src/hooks.server.js index 488c2926..7ae57ddf 100644 --- a/website/src/hooks.server.js +++ b/website/src/hooks.server.js @@ -37,7 +37,7 @@ export async function handle({ event, resolve }) { `; } - let stringsHTML = stringsToHTML(strings); + let stringsHTML = page === 'app' ? stringsToHTML(strings) : ''; const response = await resolve(event, { transformPageChunk: ({ html }) => html.replace('', htmlTag).replace('', headTag).replace('', ``)