MCPcopy Index your code
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / getUrl

Function getUrl

web/js/faviconStatus.js:17–17  ·  view source on GitHub ↗
(active, user)

Source from the content-addressed store, hash-verified

15 }
16
17 const getUrl = (active, user) => new URL(`assets/favicon${active ? "-active" : ""}${user ? ".user" : ""}.ico`, import.meta.url);
18 const testUrl = async (active) => {
19 const url = getUrl(active, true);
20 const r = await fetch(url, {

Callers 1

testUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected