Remove settings on environment
This commit is contained in:
parent
725d658697
commit
853430a4e3
@ -15,8 +15,6 @@
|
||||
|
||||
using (context)
|
||||
{
|
||||
context.Database.EnsureDeleted();
|
||||
|
||||
context.Database.EnsureCreated();
|
||||
|
||||
if (!context.CatalogBrands.Any())
|
||||
|
@ -21,7 +21,7 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API
|
||||
{
|
||||
var builder = new ConfigurationBuilder()
|
||||
.SetBasePath(env.ContentRootPath)
|
||||
.AddJsonFile($"settings.{env.EnvironmentName}.json",optional:false)
|
||||
.AddJsonFile($"settings.json",optional:false)
|
||||
.AddEnvironmentVariables();
|
||||
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
"wwwroot",
|
||||
"Views",
|
||||
"Areas/**/Views",
|
||||
"settings.Production.json",
|
||||
"settings.json",
|
||||
"web.config",
|
||||
"project.json",
|
||||
"Dockerfile"
|
||||
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"ConnectionString": "Server=127.0.0.1;Port=5432;Database=CatalogDB;username=postgres;password=postgres",
|
||||
"Logging": {
|
||||
"IncludeScopes": false,
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"System": "Information",
|
||||
"Microsoft": "Information"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user