1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-24 21:11:04 -05:00

disable telemetry crashes

This commit is contained in:
Kyle Spearrin 2017-10-23 18:00:15 -04:00
parent 1025424461
commit e61e2cb0e9

View File

@ -43,20 +43,13 @@ namespace Bit.Icons
public void Configure(
IApplicationBuilder app,
IHostingEnvironment env,
TelemetryConfiguration telemetry)
IHostingEnvironment env)
{
if(env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
try
{
telemetry.DisableTelemetry = true;
}
catch { }
app.UseResponseCaching();
app.UseMvc();
}