Allow profiling on remote connections

pull/4/head
Mark McDowall 12 years ago
parent fc51bcf366
commit 69a19b14c8

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

Loading…
Cancel
Save