initial commit

This commit is contained in:
Kamal Tufekcic 2026-07-05 12:14:39 +03:00
commit 2d966b8198
28 changed files with 2901 additions and 0 deletions

15
Program.cs Normal file
View file

@ -0,0 +1,15 @@
using CsWeb.Services;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddRazorPages();
builder.Services.AddSingleton<Fleet>();
var app = builder.Build();
app.UseStaticFiles();
app.MapRazorPages();
// Changelog is deliberately not a page: the Forgejo releases feed IS the changelog (one source of truth).
app.MapGet("/changelog", (IConfiguration cfg) =>
Results.Redirect(cfg["Outnumbered:ReleasesUrl"] ?? "/", permanent: false));
await app.RunAsync();