aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
655 stars 203 forks source link

Repeating CORS warning for `http://localhost:51234` #574

Closed dsinni closed 5 years ago

dsinni commented 5 years ago

I'm receiving the following recurring warning when using the inspector with A-Frame master. It displays approximately every 5 seconds:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:51234/. (Reason: CORS request did not succeed).

image

I'm currently using the latest master: 056b2bce5d448f0c9e9e1855397ff7a40847d4c5 and am running a local web server for development but not on port 51234, so I'm not sure why that's being used at all.

Actually, it appears that aframe-watcher uses 51234 for the default port, so maybe this is intended? Just thought it was worth noting just in case.

Thanks.

ngokevin commented 5 years ago

https://github.com/aframevr/aframe-inspector/commit/0e3b67f667df7ea21a70f2944f061ca30b1b37b8