disable etags
All checks were successful
Publish Docker Images / docker (push) Successful in 1m18s

This commit is contained in:
Lee 2023-11-16 14:09:55 +00:00
parent 4402b42756
commit 4a3c26b7fa

@ -25,8 +25,8 @@ export function createServer({ port = 3000, onLoaded }: ServerType): Express {
// Remove the X-Powered-By header
server.disable("x-powered-by");
// Turn on ETag support (for caching)
server.enable("etag");
// Remove the ETag header (so that the client doesn't cache the response)
server.disable("etag");
// Listen on the specified port
server.listen(port, () => {