fixed migrator optional secret protected file appsettings.
This commit is contained in:
parent
e01d2d0a14
commit
56734b4f52
@ -16,7 +16,7 @@ public class DesignTimeTextMatcherContextFactory : IDesignTimeDbContextFactory<T
|
||||
var configuration = new ConfigurationBuilder()
|
||||
.SetBasePath(AppDomain.CurrentDomain.BaseDirectory)
|
||||
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
|
||||
.AddJsonFile("appsettings.protected.json", optional: false, reloadOnChange: true)
|
||||
.AddJsonFile("appsettings.protected.json", optional: true, reloadOnChange: true)
|
||||
.AddEnvironmentVariables()
|
||||
.Build();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user