Bind ./serve to 127.0.0.1 to make it work on lousy network connections

This commit is contained in:
Rupus Reinefjord 2022-05-18 20:47:15 +02:00
parent ca89a36a04
commit 8d9f6fbad2

2
serve
View file

@ -1,3 +1,3 @@
#!/bin/bash
python3 -m http.server 8000 --directory public/
python3 -m http.server 8000 --bind 127.0.0.1 --directory public/