Is there a way to set the globalThis.location for a Worker
In the same way that
--location
can be used to set the location on the main thread, is there a way to override the location that gets set on a Worker?
We are using Workers to run untrusted user code, and it'd be more desirable to set the location to something other than the URL of the worker module itself.0 Replies