More cleanup
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user