Added configuration support for xml

This commit is contained in:
Mia Rose Winter 2024-01-18 14:15:17 +01:00
parent 0a85bcc7cf
commit 33e5f32970
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -15,7 +15,8 @@
.AddJsonFile("/configuration/config.json", true, false)
.AddYamlFile("/configuration/config.yml", true, false)
.AddTomlFile("/configuration/config.toml", true, false)
.AddIniFile( "/configuration/config.ini", true, false);
.AddIniFile( "/configuration/config.ini", true, false)
.AddXmlFile( "/configuration/config.xml", true, false);
builder.Services.AddRazorComponents().AddInteractiveServerComponents();
builder.Services.AddControllers();