Env vars now have to start with NadekoBot_

This commit is contained in:
Kwoth 2016-11-15 09:55:10 +01:00
parent 1538364f00
commit 46dadda759

View File

@ -45,7 +45,7 @@ namespace NadekoBot.Services.Impl
{ {
var configBuilder = new ConfigurationBuilder(); var configBuilder = new ConfigurationBuilder();
configBuilder.AddJsonFile(credsFileName) configBuilder.AddJsonFile(credsFileName)
.AddEnvironmentVariables("NadekoBot:"); .AddEnvironmentVariables("NadekoBot_");
var data = configBuilder.Build(); var data = configBuilder.Build();