Bugfix/appsettings (#229)
* More build flavors for Raspberry Pi users and updated Install since we don't need users to set their own JWT Token Key. Update a typo in appsettings.json file for prod.
This commit is contained in:
parent
50af2f8ca5
commit
3c375da10c
3 changed files with 7 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ namespace API
|
|||
{
|
||||
var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
|
||||
var isDevelopment = environment == Environments.Development;
|
||||
return "appSettings" + (isDevelopment ? ".Development" : "") + ".json";
|
||||
return "appsettings" + (isDevelopment ? ".Development" : "") + ".json";
|
||||
}
|
||||
|
||||
public static async Task Main(string[] args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue