MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / getWebPreviewDisplayUrl

Function getWebPreviewDisplayUrl

frontend/app/view/webview/webview.tsx:824–826  ·  view source on GitHub ↗
(url?: string | null)

Source from the content-addressed store, hash-verified

822}
823
824function getWebPreviewDisplayUrl(url?: string | null): string {
825 return url?.trim() || "about:blank";
826}
827
828function WebViewPreviewFallback({ url }: { url?: string | null }) {
829 const displayUrl = getWebPreviewDisplayUrl(url);

Callers 2

webview.test.tsxFile · 0.90
WebViewPreviewFallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected