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:
parent
1025424461
commit
e61e2cb0e9
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user