mirror of
https://github.com/bitwarden/server.git
synced 2025-05-13 15:42:17 -05:00
remove unused code
This commit is contained in:
parent
5fedad91a3
commit
e2da4cc541
@ -310,12 +310,8 @@ public class Program
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch
|
||||||
{
|
{
|
||||||
// TODO: Remove exception message before main merge??
|
|
||||||
Console.WriteLine(
|
|
||||||
$"Unable to validate installation id. Problem contacting Bitwarden {cloudRegion.ToString()} server.\nError: {ex.Message}"
|
|
||||||
);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
using Microsoft.Extensions.FileProviders;
|
|
||||||
using Microsoft.Extensions.Hosting;
|
|
||||||
|
|
||||||
namespace Bit.Setup;
|
|
||||||
|
|
||||||
internal class SetupHostEnvironment : IHostEnvironment
|
|
||||||
{
|
|
||||||
public string ApplicationName { get; set; } = "Setup";
|
|
||||||
public IFileProvider ContentRootFileProvider { get; set; } = new NullFileProvider();
|
|
||||||
public string ContentRootPath { get; set; } = string.Empty;
|
|
||||||
public string EnvironmentName { get; set; } = "Production";
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user