mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-29 20:08:27 +01:00
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