mkkellogg / GaussianSplats3D

Three.js-based implementation of 3D Gaussian splatting
MIT License
1.1k stars 135 forks source link

LAN IP like(192.168.) cannot load the demo page #205

Closed yang1hu closed 2 months ago

yang1hu commented 2 months ago

Hi,this is a great project ! there is a problem when i run the demo from source code. i am a newer to node. i found when a use 127.0.0.1 can visit the page .however ,cannot visit from 192.168., i found there is a js file cannot load successfully, just this function createSplatTreeWorker

mkkellogg commented 2 months ago

To access the demo at an address like 192.168.*.* you'll need to set up something a little more sophisticated than what I have for the local demo because you need to enable SSL. What I have done for my local network is use an NPM package called local-ssl-proxy to run an SSL enabled proxy server that redirects to my local demo. So for example, if you have my demo running at 192.168.1.10:8080 you could run the proxy like this:

npx local-ssl-proxy -s 9001 -t 8080

Then you could access the URL 192.168.1.10:9001 and it would redirect to my demo, but with SSL enabled.

yang1hu commented 2 months ago

npx local-ssl-proxy -s 9001 -t 8080

thank you very much

mkkellogg commented 2 months ago

No problem! Just to clarify -- this is now working for you?

mkkellogg commented 2 months ago

I'm going to close this for now, let me know if you run into any more problems.