+ change ip for host.docker.internal to localhost on windows hosts file (example for correctly working vite_dev server both from host browser and docker browserless browser)

This commit is contained in:
toxa
2024-06-07 14:54:05 +03:00
parent 32b98ae170
commit 1677ffe648

View File

@ -0,0 +1,2 @@
#!/bin/bash
sed -i 's/.* host.docker.internal/127.0.0.1 host.docker.internal/' /c/Windows/System32/drivers/etc/hosts