MCPcopy
hub / github.com/deepnote/deepnote / buildLaunchUrl

Function buildLaunchUrl

packages/cli/src/utils/import-client.ts:100–103  ·  view source on GitHub ↗
(importId: string, domain: string = DEFAULT_DOMAIN)

Source from the content-addressed store, hash-verified

98 * @returns The full URL to open in the browser
99 */
100export function buildLaunchUrl(importId: string, domain: string = DEFAULT_DOMAIN): string {
101 const params = new URLSearchParams({ importId })
102 return `https://${domain}/launch?${params.toString()}`
103}
104
105/**
106 * Validates a file can be uploaded to Deepnote.

Callers 2

openDeepnoteFileInCloudFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected