Skip to main content

Function: getRouteUseClusterURL()

function getRouteUseClusterURL(route: Route): boolean

Should the route use a cluster URL?

Parameters

ParameterTypeDescription
routeRoute

Returns

boolean

true when a cluster URL contains cluster in the URL. eg. /c/minikube/my-url false, the URL does not contain the cluster. eg. /my-url

Defined in

src/lib/router.tsx:839