about summary refs log tree commit diff
path: root/MatrixUtils.Web/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--MatrixUtils.Web/Program.cs5
1 files changed, 4 insertions, 1 deletions
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<RmuSessionStore>(); builder.Services.AddSingleton<BlazorSaveFileService>(); +builder.Services.AddSingleton<JsConsoleService>(); + // 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