Skip to content

Commit

Permalink
[Fix] Add file appsettings.Development.json to config polling.
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderNekr committed Oct 17, 2023
1 parent b64d117 commit a8263d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ obj/
/packages/
riderModule.iml
/_ReSharper.Caches/

appsettings.Development.json
1 change: 1 addition & 0 deletions ChessTourManager.DataAccess/ChessTourContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
.GetParent(Directory
.GetCurrentDirectory())
+ "/ChessTourManager.WEB")
.AddJsonFile("appsettings.Development.json", false, true)
.AddJsonFile("appsettings.json", false, true);

IConfiguration configuration = builder.Build();
Expand Down
2 changes: 0 additions & 2 deletions ChessTourManager.WEB/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"ConnectionStrings": {
},
"Logging": {
"LogLevel": {
"Default": "Information",
Expand Down

0 comments on commit a8263d9

Please sign in to comment.