Add X-Response-Time-ms header and log slow server response time

This commit is contained in:
David
2020-07-14 13:26:47 +02:00
parent f7c7b1e7e1
commit 262e19b691
3 changed files with 93 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ namespace Jellyfin.Server
app.UseMiddleware<ExceptionMiddleware>();
app.UseMiddleware<ResponseTimeMiddleware>();
app.UseWebSockets();
app.UseResponseCompression();