[backend/federation] Add Cache-Control: no-store to authorized fetch endpoints
This commit is contained in:
parent
a70b493188
commit
7dd0262333
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ public class AuthorizedFetchMiddleware(
|
|||
|
||||
if (attribute != null && config.Value.AuthorizedFetch)
|
||||
{
|
||||
ctx.Response.Headers.CacheControl = "no-store";
|
||||
|
||||
var request = ctx.Request;
|
||||
var ct = appLifetime.ApplicationStopping;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue