https://www.rhizomemedia.co/ is hosted on Webflow, but we recently noticed that the jquery cannot be loaded because of CORS policy. Bug?
Thanks for getting in touch about the cross domain code, I am here to help.
At the moment in order to execute the code, the code must originate on the same top level domain or subdomain of the site you are hosting.
This means for example that if you place the code on a cdn and then map a subdomain on your site to the cdn having the custom code with a sub domain like files.mysite.com, where mysite.com is hosted in Webflow and files.mysite.com is pointed to the cdn server (like Amazon AWS or Rackspace as an example), then you can execute that code.
If the code is not on the same domain, the browser will block that code due to the CORS policy in effect in the browser.
Currently, Webflow does not yet have the ability to enable CORS for cross domain requests.
Hopefully, this was helpful.
This jquery script is actually generated and put into the HTML by Webflow. Not us.
Can’t replicate nor see that error. Just checked your site link @Livia_Zhang
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.