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"); - } }); }