about summary refs log tree commit diff
path: root/MatrixUtils.Web.Server/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.Web.Server/Program.cs')
-rw-r--r--MatrixUtils.Web.Server/Program.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MatrixUtils.Web.Server/Program.cs b/MatrixUtils.Web.Server/Program.cs

index cad3878..59d450a 100644 --- a/MatrixUtils.Web.Server/Program.cs +++ b/MatrixUtils.Web.Server/Program.cs
@@ -1,3 +1,6 @@ +using LibMatrix.Services; +using MatrixUtils.Web.Classes; + var builder = WebApplication.CreateBuilder(args); // Add services to the container. @@ -5,6 +8,9 @@ var builder = WebApplication.CreateBuilder(args); builder.Services.AddControllersWithViews(); builder.Services.AddRazorPages(); +builder.Services.AddRoryLibMatrixServices(); +builder.Services.AddScoped<RmuSessionStore>(); + var app = builder.Build(); // Configure the HTTP request pipeline.