♻️ Remove etcd, replace with asprie. Move infra to aspire. Disable gateway for now

This commit is contained in:
2025-09-15 00:16:13 +08:00
parent 5c97733b3e
commit 091097a858
46 changed files with 360 additions and 723 deletions

View File

@@ -4,6 +4,8 @@ using Microsoft.AspNetCore.HttpOverrides;
var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();
builder.Host.UseContentRoot(Directory.GetCurrentDirectory());
builder.WebHost.ConfigureKestrel(options =>
{
@@ -18,6 +20,8 @@ builder.Services.AddControllers();
var app = builder.Build();
app.MapDefaultEndpoints();
app.ConfigureForwardedHeaders(app.Configuration);
app.UseRequestTimeouts();