fix conflict
This commit is contained in:
commit
183f1ef256
@ -89,8 +89,7 @@ IConfiguration GetConfiguration()
|
|||||||
|
|
||||||
if (config.GetValue<bool>("UseVault", false))
|
if (config.GetValue<bool>("UseVault", false))
|
||||||
{
|
{
|
||||||
builder.AddAzureKeyVault(
|
builder.AddAzureKeyVault(new Uri($"https://{config["Vault:Name"]}.vault.azure.net/"),new DefaultAzureCredential());
|
||||||
new Uri($"https://{config["Vault:Name"]}.vault.azure.net/"), new DefaultAzureCredential());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return builder.Build();
|
return builder.Build();
|
||||||
@ -108,4 +107,4 @@ public class Program
|
|||||||
|
|
||||||
public static string Namespace = typeof(Startup).Namespace;
|
public static string Namespace = typeof(Startup).Namespace;
|
||||||
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user