!wip fixed the launch issue

pull/2142/head
Jamie 7 years ago
parent e19f99114a
commit a0e6eab052

@ -45,7 +45,7 @@ namespace Ombi
var builder = new ConfigurationBuilder() var builder = new ConfigurationBuilder()
.SetBasePath(env.ContentRootPath) .SetBasePath(env.ContentRootPath)
.AddJsonFile("appsettings.json", false, false) .AddJsonFile("appsettings.json", false, false)
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", false) .AddJsonFile($"appsettings.{env.EnvironmentName}.json", true)
.AddEnvironmentVariables(); .AddEnvironmentVariables();
Configuration = builder.Build(); Configuration = builder.Build();

Loading…
Cancel
Save