Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 210725

XMLHttpRequest on https website

$
0
0

Replies: 0

After i loaded a stl file and recived an estimation, if i refresh that same page again i am getting this error in console (it disables my https):
XMLHttpRequest cannot load http://site.ro/xxx/p3d/1488401457_phone_holderxx.stl. Redirect from ‘http://site.ro/xxx/p3d/1488401457_phone_holderxxx.stl’ to ‘https://site.ro/xxx/p3d/1488401457_phone_holderxxx.stl’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://site.ro/’ is therefore not allowed access.

Is there a way to make it load that resources over https and not http ?
Thank you.


Viewing all articles
Browse latest Browse all 210725

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>