MCPcopy Index your code
hub / github.com/coder/mux / getDeploymentUrl

Method getDeploymentUrl

src/node/services/coderService.ts:628–631  ·  view source on GitHub ↗

* Get the Coder deployment URL via `coder whoami`. * Throws if Coder CLI is not configured/logged in.

(signal?: AbortSignal)

Source from the content-addressed store, hash-verified

626 * Throws if Coder CLI is not configured/logged in.
627 */
628 private async getDeploymentUrl(signal?: AbortSignal): Promise<string> {
629 const { url } = await this.getWhoamiData({ useCache: true, signal });
630 return url;
631 }
632
633 /**
634 * Get the active template version ID for a template.

Callers 1

createWorkspaceMethod · 0.95

Calls 1

getWhoamiDataMethod · 0.95

Tested by

no test coverage detected