From 021e5c5b71573d35b857c5af284002e1696613bb Mon Sep 17 00:00:00 2001 From: Mia Winter Date: Thu, 18 Jan 2024 15:55:48 +0100 Subject: [PATCH] fixed configuration order --- Wave/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wave/Program.cs b/Wave/Program.cs index 2573293..cdacae3 100644 --- a/Wave/Program.cs +++ b/Wave/Program.cs @@ -11,12 +11,12 @@ var builder = WebApplication.CreateBuilder(args); builder.Configuration - .AddEnvironmentVariables("WAVE_") .AddJsonFile("/configuration/config.json", true, false) .AddYamlFile("/configuration/config.yml", true, false) .AddTomlFile("/configuration/config.toml", true, false) .AddIniFile( "/configuration/config.ini", true, false) - .AddXmlFile( "/configuration/config.xml", true, false); + .AddXmlFile( "/configuration/config.xml", true, false) + .AddEnvironmentVariables("WAVE_"); builder.Services.AddRazorComponents().AddInteractiveServerComponents(); builder.Services.AddControllers();