mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-01 03:31:58 +00:00
Add UV mirrors settings (#2333)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -68,6 +68,13 @@ const mockElectronAPI: Plugin = {
|
||||
console.log('incrementUserProperty', property, value)
|
||||
}
|
||||
},
|
||||
NetWork: {
|
||||
canAccessUrl: (url) => {
|
||||
const canAccess = url.includes('good')
|
||||
console.log('canAccessUrl', url, canAccess)
|
||||
return new Promise((resolve) => setTimeout(() => resolve(canAccess), 10000))
|
||||
}
|
||||
},
|
||||
setMetricsConsent: (consent) => {}
|
||||
};`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user