Allow profiling on remote connections

This commit is contained in:
Mark McDowall 2012-07-27 15:33:47 -07:00
parent fc51bcf366
commit 69a19b14c8
1 changed files with 2 additions and 1 deletions

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();
};