upd:在swagger里面聚合了Swagger

This commit is contained in:
2025-10-26 15:07:13 +08:00
parent 29201fa84e
commit b699762c1b
2 changed files with 49 additions and 0 deletions

View File

@ -1,4 +1,5 @@
using KonSoft.InternalGateway;
using KonSoft.InternalGateway.Extensions;
using KonSoft.Shared.Hosting.AspNetCore;
using Serilog;
@ -24,6 +25,7 @@ try
await app.InitializeApplicationAsync();
app.MapReverseProxy();
app.MapGet("/heath", () => "Online");
app.UseSwaggerUIWithYarp();
await app.RunAsync();
return 0;