Access to script at 'https://mysite.test/wp-includes/js/wp-emoji-release.min.js?ver=5.9.2'
from origin 'http://0.0.0.0:3000' has been blocked by CORS policy:
The request client is not a secure context and the resource is in more-private address space `local`.
I try generate my ssl sert with
mkcert 0.0.0.0
then insert it in config
What’s your local development setup like? What OS/tools are you using for your webserver? Does mysite.test have a valid SSL cert that’s displaying a green padlock in your browser?
Can you try localhost instead of 0.0.0.0 without SSL?
You could alternatively, or in tandem with the above config, also use mkcert to generate a certificate that works on 0.0.0.0 and example.test (went ahead and threw some other common local addresses on there as well):
edit: The @certs part doesn’t do anything special with regards to certs, and it’s totally optional. I just find it to be a nice way to deal with having to reference them all the time. Even better is probably to set that path in .env.