.NET Aspire: Scalar displays API instance url when accessing via proxy

aspire Scalar 端口异常

 

解决方案

app.MapScalarApiReference(options =>
{
   options.Servers = Array.Empty<ScalarServer>();
});

链接  .NET Aspire: Scalar displays API instance url when accessing via proxy · scalar/scalar · Discussion #4025 · GitHub

posted @ 2025-01-01 01:28  微风吹过~  阅读(8)  评论(0编辑  收藏  举报