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

@@ -1,6 +1,6 @@
// Licensed to StellaOps under the BUSL-1.1 license.
using StellaOps.Auth.ServerIntegration;
using Microsoft.AspNetCore.RateLimiting;
using Npgsql;
using StackExchange.Redis;
@@ -101,7 +101,11 @@ builder.Services.AddResponseCompression(options =>
options.EnableForHttps = true;
});
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("reachgraph");
var app = builder.Build();
app.LogStellaOpsLocalHostname("reachgraph");
// Configure pipeline
if (app.Environment.IsDevelopment())
@@ -112,6 +116,7 @@ if (app.Environment.IsDevelopment())
app.UseHttpsRedirection();
app.UseResponseCompression();
app.UseStellaOpsCors();
app.UseRateLimiter();
app.UseAuthorization();
app.MapControllers();