From 26bed22b949029778fc5ed8ea1c6a7ba3be4e4dd Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Tue, 10 Jun 2025 17:05:10 -0400 Subject: [PATCH] fix lint by adding void --- backend/src/server/plugins/serve-ui.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/src/server/plugins/serve-ui.ts b/backend/src/server/plugins/serve-ui.ts index 9904c992f..b71451b6e 100644 --- a/backend/src/server/plugins/serve-ui.ts +++ b/backend/src/server/plugins/serve-ui.ts @@ -58,9 +58,10 @@ export const registerServeUI = async ( return; } - // This should help avoid caching any chunks (temp) - reply.header("Cache-Control", "no-cache, no-store, must-revalidate"); - reply.header("Pragma", "no-cache"); + // This should help avoid caching any chunks (temp fix) + void reply.header("Cache-Control", "no-cache, no-store, must-revalidate, private, max-age=0"); + void reply.header("Pragma", "no-cache"); + void reply.header("Expires", "0"); return reply.sendFile("index.html"); } });