export function GetControlplaneEndpoint(): string {
  return `${GetDashboardEndpoint()}/api`;
}

export function GetDashboardEndpoint(): string {
  return `${window.location.protocol}//${window.location.host}`;
}
