stabilizaiton work - projects rework for maintenanceability and ui livening

This commit is contained in:
master
2026-02-03 23:40:04 +02:00
parent 074ce117ba
commit 557feefdc3
3305 changed files with 186813 additions and 107843 deletions

View File

@@ -4,6 +4,7 @@ using Microsoft.AspNetCore.RateLimiting;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
using Serilog;
using StellaOps.Auth.ServerIntegration;
using StellaOps.VexLens.Api;
using StellaOps.VexLens.Consensus;
using StellaOps.VexLens.Persistence;
@@ -69,7 +70,11 @@ builder.Services.AddRateLimiter(options =>
});
});
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("vexlens");
var app = builder.Build();
app.LogStellaOpsLocalHostname("vexlens");
// Configure request pipeline
if (app.Environment.IsDevelopment())
@@ -77,6 +82,7 @@ if (app.Environment.IsDevelopment())
app.MapOpenApi();
}
app.UseStellaOpsCors();
app.UseRateLimiter();
app.UseSerilogRequestLogging();