Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix lint by adding void

Maidul Islam26bed22b9490
diff --git a/backend/src/server/plugins/serve-ui.ts b/backend/src/server/plugins/serve-ui.ts
index 9904c992fb..b71451b6e5 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");
}
});