去除默认跳转路径
This commit is contained in:
parent
5e69e1249d
commit
e540247b57
|
|
@ -62,8 +62,8 @@ public class ApiAdminStartup : AppStartupBase<ApiAdminStartup>
|
|||
base.Configure(webApplication);
|
||||
|
||||
// 跳转客户端
|
||||
webApplication.MapGet("/", [AllowAnonymous] () => Results.Redirect("/client/index.html"));
|
||||
|
||||
// webApplication.MapGet("/", [AllowAnonymous] () => Results.Redirect("/client/index.html"));
|
||||
webApplication.MapGet("/", [AllowAnonymous] () => "请求成功");
|
||||
// 跳转离线文档
|
||||
webApplication.MapGet("/docs", [AllowAnonymous] () => Results.Redirect("/docs/index.html"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user