From 3e9c800cbe1ada500a0092119c66ecafc136570f Mon Sep 17 00:00:00 2001 From: apkatsikas Date: Sat, 11 Jul 2026 16:18:39 -0400 Subject: fix: add default.html to no-cache file list Signed-off-by: apkatsikas --- src/slskd/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 8b6e1b08..5260760f 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1089,7 +1089,7 @@ namespace slskd { OnPrepareResponse = ctx => { - if (ctx.File.Name == "index.html") + if (ctx.File.Name == "index.html" || ctx.File.Name == "default.html") { ctx.Context.Response.GetTypedHeaders().CacheControl = new CacheControlHeaderValue { NoCache = true }; } -- cgit v1.2.3