get the url of your app in a worker?
Is there a way to get the url of where your app is deployed inside a worker? In a service worker i can do self.location, but it doesnt exist in a worker
Bonus question: easy way to switch that url between localhost for dev
Bonus question: easy way to switch that url between localhost for dev