1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 08:15:27 +00:00

Allow profiling on remote connections

This commit is contained in:
Mark McDowall 2012-07-27 15:33:47 -07:00
parent fc51bcf366
commit 69a19b14c8

View file

@ -84,7 +84,8 @@ namespace NzbDrone.Web.App_Start
var request = ((HttpApplication)sender).Request;
//TODO: By default only local requests are profiled, optionally you can set it up
// so authenticated users are always profiled
if (request.IsLocal) { MiniProfiler.Start(); }
//if (request.IsLocal) { MiniProfiler.Start(); }
MiniProfiler.Start();
};