MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / frontendUrl

Function frontendUrl

packages/client/src/features/devtools/DevToolsPanel.tsx:1768–1773  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1766}
1767
1768function frontendUrl(value: string): URL {
1769 if (value.startsWith("http://") || value.startsWith("https://")) {
1770 return new URL(value);
1771 }
1772 return new URL(apiUrl(value), window.location.href);
1773}
1774
1775function normalizeWebSocketUrl(
1776 rawUrl: string,

Callers 2

Calls 1

apiUrlFunction · 0.90

Tested by

no test coverage detected