Question Regarding Inline Webworkers

In my attempt to use an inline webworker for a procedural audio application , I ran into the security level mismatch indicated by the following error:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://playcanvas.com’) does not match the recipient window’s origin (‘http://playcanvas.com’).

How can I force the URL of the webworker to be https so the mismatch does not occur?

I don’t think that error is related to your webworker.

That error is always there (an annoying part of our code to deal with the fact our site runs on both http and https, it’ll go away soon)

Currently, your project isn’t trying to load the worker, so I’m can’t debug. But I’ll try a worker out in another project.

Thanks Dave. Have a great holiday season.