CORS Policy Issue with Gutenberg Script from External Domain
-
Hello Community,
I’m facing a CORS policy issue when loading Gutenberg scripts (
navigation.min.js
andindex.min.js
) from an external domain (https://s4md00.p3cdn1.secureserver.net
) onto my site athttps://transsocial.org
. The browser blocks these scripts, citing the absence of theAccess-Control-Allow-Origin
header.Additionally, I observed that the failing requests for Gutenberg scripts carry the
Sec-Fetch-Mode: cors
header, contrasting with successful script loads that useSec-Fetch-Mode: no-cors
. This suggests a potential misconfiguration in how Gutenberg handles the mode of script requests.Is this a known issue with Gutenberg, and are there recommended workarounds or fixes? Adjusting the script tag or request mode seems necessary, but I’m unsure how to proceed within the WordPress framework.
Appreciate any advice or solutions that have worked for you.
The page I need help with: [log in to see the link]
- The topic ‘CORS Policy Issue with Gutenberg Script from External Domain’ is closed to new replies.