Closed michaelplutovr closed 4 years ago
realized this might be a cached request in cef cache with a ttl of an hour from when the server didn't have cors headers. Going to retry in an hour and disable caching on the server and will update this
yep, it was cached in cef somewhere
Yeah, I'm pretty sure I've run into exactly the same thing.
when hosting on local host with something like
http-server <dir> -p <port> --cors
I'm getting this message from the menu gadget
Access to XMLHttpRequest at 'http://localhost:12883/models/placeholder.glb' from origin 'http://localhost:23842' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.", source: http://localhost:23842/gadgets/aardvark_renderer/index.html
however
`$ curl -v http://localhost:12883/models/placeholder.glb