feat: add cache control in response
This commit is contained in:
@ -125,9 +125,10 @@ public class Program
|
||||
|
||||
app.UseCustomSwagger(app.Services);
|
||||
|
||||
app.UseMiddleware<MaintenanceModeMiddleware>();
|
||||
app.UseMiddleware<CustomExceptionHandlerMiddleware>();
|
||||
app.UseMiddleware<MaintenanceModeMiddleware>();
|
||||
app.UseMiddleware<JwtRevocationMiddleware>();
|
||||
app.UseMiddleware<CacheMaxAgeMiddleware>();
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
|
Reference in New Issue
Block a user