+ 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:
2
bash/change-hosts-on-windows.sh
Normal file
2
bash/change-hosts-on-windows.sh
Normal 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
|
Reference in New Issue
Block a user