MCPcopy
hub / github.com/unicity-sphere/sphere / deepLinkToHttps

Function deepLinkToHttps

src/utils/deepLinkHandler.ts:17–19  ·  view source on GitHub ↗
(deepLink: string)

Source from the content-addressed store, hash-verified

15
16/** Convert unicity-connect://host/path to https://host/path */
17export function deepLinkToHttps(deepLink: string): string {
18 return deepLink.replace(/^unicity-connect:\/\//, 'https://');
19}

Callers 2

parseInlineFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected