upd:在swagger里面聚合了Swagger
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user