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?