mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
move to standard appsettings.json
This commit is contained in:
@ -27,8 +27,11 @@ namespace Bit.Api
|
||||
{
|
||||
public Startup(IHostingEnvironment env)
|
||||
{
|
||||
var builder = new ConfigurationBuilder()
|
||||
.AddSettingsConfiguration(env, "bitwarden-Api");
|
||||
var builder = new ConfigurationBuilder();
|
||||
if(env.IsDevelopment())
|
||||
{
|
||||
builder.AddUserSecrets("bitwarden-Api");
|
||||
}
|
||||
Configuration = builder.Build();
|
||||
Environment = env;
|
||||
}
|
||||
|
Reference in New Issue
Block a user