Skip to content

Commit

Permalink
Set configuration's BasePath to CurrentDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Apr 13, 2021
1 parent fbd9f12 commit 7ac6c32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Impostor.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ private static IConfiguration CreateConfiguration(string[] args)
{
var configurationBuilder = new ConfigurationBuilder();

configurationBuilder.SetBasePath(Directory.GetCurrentDirectory());
configurationBuilder.AddJsonFile("config.json", true);
configurationBuilder.AddJsonFile("config.Development.json", true);
configurationBuilder.AddEnvironmentVariables(prefix: "IMPOSTOR_");
Expand Down

0 comments on commit 7ac6c32

Please sign in to comment.