Bind ./serve to 127.0.0.1 to make it work on lousy network connections
This commit is contained in:
parent
ca89a36a04
commit
8d9f6fbad2
1 changed files with 1 additions and 1 deletions
2
serve
2
serve
|
@ -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/
|
||||
|
|
Loading…
Add table
Reference in a new issue