fix lint by adding void

This commit is contained in:
Maidul Islam
2025-06-10 17:05:10 -04:00
parent 2d3c63e8b9
commit 26bed22b94
+4 -3
View File
@@ -58,9 +58,10 @@ export const registerServeUI = async (
return; return;
} }
// This should help avoid caching any chunks (temp) // This should help avoid caching any chunks (temp fix)
reply.header("Cache-Control", "no-cache, no-store, must-revalidate"); void reply.header("Cache-Control", "no-cache, no-store, must-revalidate, private, max-age=0");
reply.header("Pragma", "no-cache"); void reply.header("Pragma", "no-cache");
void reply.header("Expires", "0");
return reply.sendFile("index.html"); return reply.sendFile("index.html");
} }
}); });