Update MediaApplicationBuilderExtensions.cs

This commit is contained in:
2024-05-27 12:19:15 +02:00
parent d5b238a2aa
commit 73177e4681
@@ -12,10 +12,6 @@ public static class MediaApplicationBuilderExtensions
OnPrepareResponse = ctx =>
{
ctx.Context.Response.Headers[HeaderNames.CacheControl] = "public, must-revalidate, max-age=" + (int)cacheDuration.TotalSeconds;
},
OnPrepareResponseAsync = async ctx =>
{
await Task.Delay(0);
}
});
}