mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 16:26:02 +00:00
Allow profiling on remote connections
This commit is contained in:
parent
fc51bcf366
commit
69a19b14c8
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue