Browse Source

+ 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)

master
toxa 5 months ago
parent
commit
1677ffe648
  1. 2
      bash/change-hosts-on-windows.sh

2
bash/change-hosts-on-windows.sh

@ -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
Loading…
Cancel
Save