diff --git a/Wave/Program.cs b/Wave/Program.cs index e4632ba..5872d19 100644 --- a/Wave/Program.cs +++ b/Wave/Program.cs @@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; +using Tomlyn.Extensions.Configuration; using Wave.Components; using Wave.Components.Account; using Wave.Data; @@ -12,7 +13,9 @@ builder.Configuration .AddEnvironmentVariables("WAVE_") .AddJsonFile("/configuration/config.json", true, false) - .AddYamlFile("/configuration/config.yml", true, false); + .AddYamlFile("/configuration/config.yml", true, false) + .AddTomlFile("/configuration/config.toml", true, false) + .AddIniFile( "/configuration/config.ini", true, false); builder.Services.AddRazorComponents().AddInteractiveServerComponents(); builder.Services.AddControllers(); diff --git a/Wave/Wave.csproj b/Wave/Wave.csproj index 4fc765a..b367c58 100644 --- a/Wave/Wave.csproj +++ b/Wave/Wave.csproj @@ -24,10 +24,10 @@ + -