CADmium-Co / CADmium

A CAD program that runs in the browser
https://cadmium-co.github.io/CADmium/
Other
1.35k stars 51 forks source link

fix devcontainer by forcing vite to use IPv4 localhost IP address #80

Closed jbcpollak closed 1 month ago

jbcpollak commented 1 month ago

I ran into this issue on my Windows 11 + WSL + DevContainer setup: https://github.com/vitejs/vite/issues/16522

This change should be innocuous to across Windows / MacOS and Linux, devcontainer and not.

I was able to test with Windows WSL and Windows WSL + Devcontainer, I could test MacOS and Linux later if that's helpful.

av8ta commented 1 month ago

Thanks @jbcpollak ! I'll merge this now because I agree it should be fine. Tried it on linux & it's all good here.