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] [NonAction]
protected Uri BuildNetBoxURI() protected Uri BuildNetBoxURI()
{ {
var endUrl = new UriBuilder(); var endUrl = new UriBuilder
{
endUrl.Path = "/api/ipam/route-targets"; Path = "/api/ipam/route-targets",
endUrl.Host = Configuration["NetBoxHost"]; Host = Configuration["NetBoxHost"],
endUrl.Scheme = "https"; Scheme = "https"
};
return endUrl.Uri; return endUrl.Uri;
} }