More cleanup

This commit is contained in:
Jeff Leung 2023-01-08 00:27:56 -08:00
parent 9311ba2b59
commit 672e56d0aa
1 changed files with 6 additions and 5 deletions

View File

@ -32,11 +32,12 @@ namespace AS1024.CommunityDocumentationPage.Controllers
[NonAction]
protected Uri BuildNetBoxURI()
{
var endUrl = new UriBuilder();
endUrl.Path = "/api/ipam/route-targets";
endUrl.Host = Configuration["NetBoxHost"];
endUrl.Scheme = "https";
var endUrl = new UriBuilder
{
Path = "/api/ipam/route-targets",
Host = Configuration["NetBoxHost"],
Scheme = "https"
};
return endUrl.Uri;
}