MCPcopy Index your code
hub / github.com/simstudioai/sim / buildShareUrl

Function buildShareUrl

apps/sim/lib/public-shares/share-manager.ts:30–32  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

28
29/** Public share URL for a token: `{baseUrl}/f/{token}`. */
30export function buildShareUrl(token: string): string {
31 return `${getBaseUrl()}/f/${token}`
32}
33
34function mapShareRecord(row: PublicShareRow): ShareRecord {
35 return {

Callers 1

mapShareRecordFunction · 0.85

Calls 1

getBaseUrlFunction · 0.90

Tested by

no test coverage detected