From d105d1a7ec709ddb6240a286bbd7be292a9acd1c Mon Sep 17 00:00:00 2001 From: Rory& Date: Sun, 21 Sep 2025 16:03:44 +0200 Subject: Various fixes --- MatrixUtils.Web/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'MatrixUtils.Web/Program.cs') diff --git a/MatrixUtils.Web/Program.cs b/MatrixUtils.Web/Program.cs index bc047e8..e48782f 100644 --- a/MatrixUtils.Web/Program.cs +++ b/MatrixUtils.Web/Program.cs @@ -82,5 +82,8 @@ MatrixHttpClient.LogRequests = false; builder.Services.AddRoryLibMatrixServices(); builder.Services.AddScoped(); builder.Services.AddSingleton(); +builder.Services.AddSingleton(); + // await builder.Build().RunAsync(); -await builder.Build().BlazorJSRunAsync(); \ No newline at end of file +var host = App.Host = builder.Build(); +await host.BlazorJSRunAsync(); \ No newline at end of file -- cgit 1.5.1