Error in Service Worker TypeError: Error URL.createObjectURL() not a function

Author: lucafaggianelliCreated Nov 2, 2023Updated Oct 7, 2024

Hi,

I'm trying to use the library in a service worker, but there the URL.createObjectURL() function is not available, do you have any workaround / idea?

Source: imgly/background-removal-js