From 2d3c63e8b933efca9d1dff82b4998e5e1bf01ed7 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Tue, 10 Jun 2025 03:10:16 -0400 Subject: [PATCH] fix lint --- backend/src/server/plugins/serve-ui.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/backend/src/server/plugins/serve-ui.ts b/backend/src/server/plugins/serve-ui.ts index fc6b85d3d..9904c992f 100644 --- a/backend/src/server/plugins/serve-ui.ts +++ b/backend/src/server/plugins/serve-ui.ts @@ -57,12 +57,11 @@ export const registerServeUI = async ( reply.callNotFound(); return; } - + // This should help avoid caching any chunks (temp) - reply.header('Cache-Control', 'no-cache, no-store, must-revalidate'); - reply.header('Pragma', 'no-cache'); + reply.header("Cache-Control", "no-cache, no-store, must-revalidate"); + reply.header("Pragma", "no-cache"); return reply.sendFile("index.html"); - } }); }