Admin api changes

This commit is contained in:
Rory& committed 2025-10-14 09:07:55 +02:00
1 parent 05285114cd
commit 58d92080d5
28 files changed
+1276 -33

No files matched your search

@@ -0,0 +1,16 @@
using Microsoft.EntityFrameworkCore;
using Spacebar.CleanSettingsRows;
using Spacebar.Db.Contexts;
var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddHostedService<Worker>();
builder.Services.AddDbContextPool<SpacebarDbContext>(options => {
options
.UseNpgsql(builder.Configuration.GetConnectionString("Spacebar"))
.EnableDetailedErrors();
});
var host = builder.Build();
host.Run();