dylan-thinnes / solsys

Solsys at https://solsys.xyz is a prime factorizing solar system generator.
6 stars 0 forks source link

Client-side testing needs to use local server hosting to overcome CORS limitations #10

Closed aaronshappell closed 6 years ago

aaronshappell commented 7 years ago

Just something to note when testing the client side stuff host the client directory as a server instead of just opening the index.html. This is due to security features of browsers and allows for textures/models from external models to be properly loaded and rendered.

You can just use the simple nodejs module to do so and install with npm install http-server -g And just run http-server in the client directory to host it at localhost:8080

dylan-thinnes commented 6 years ago

I don't have this problem anymore, oddly enough, and everyone involved with the dev process knows now. I'm closing for now, reopen as necessary.

aaronshappell commented 6 years ago

Ya I noticed that too. Just started working without lol