Add X-Response-Time-ms header and log slow server response time
This commit is contained in:
@@ -63,6 +63,8 @@ namespace Jellyfin.Server
|
||||
|
||||
app.UseMiddleware<ExceptionMiddleware>();
|
||||
|
||||
app.UseMiddleware<ResponseTimeMiddleware>();
|
||||
|
||||
app.UseWebSockets();
|
||||
|
||||
app.UseResponseCompression();
|
||||
|
||||
Reference in New Issue
Block a user