Pass base configuration to WebApplication Instance builder

features/nuget_autobuild
Matija Koželj 2 years ago
parent 8fe51a15d5
commit 5b0537a04a

@ -13,7 +13,10 @@ namespace Connected.Instance
var options = new WebApplicationOptions();
config.Bind(options);
var builder = WebApplication.CreateBuilder(options);
var builder = WebApplication
.CreateBuilder(options);
builder.Configuration.AddConfiguration(config);
var startups = Assemblies.QueryImplementations<IStartup>();

Loading…
Cancel
Save