High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): cache-control header missing from / requests (#10131)
Michel Heusschen3a3676bc8232
diff --git a/server/src/workers/api.ts b/server/src/workers/api.tsindex dae0f83e86..30d440240f 100644--- a/server/src/workers/api.ts+++ b/server/src/workers/api.ts@@ -46,6 +46,7 @@ async function bootstrap() {etag: true,gzip: true,brotli: true,+ extensions: [],setHeaders: (res, pathname) => {if (pathname.startsWith(`/_app/immutable`) && res.statusCode === 200) {res.setHeader('cache-control', 'public,max-age=31536000,immutable');