Skip to content

Commit d068965

Browse files
committed
Merge branch 'ak/instaweb-python-port-binding-fix' into seen
* ak/instaweb-python-port-binding-fix: instaweb: fix ip binding for the python http.server
2 parents 1262110 + 76baf97 commit d068965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-instaweb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,9 @@ class GitWebRequestHandler(CGIHTTPRequestHandler):
694694
return result
695695
696696
697-
bind = "127.0.0.1"
697+
bind = "0.0.0.0"
698698
if "$local" == "true":
699-
bind = "0.0.0.0"
699+
bind = "127.0.0.1"
700700
701701
# Set our http root directory
702702
# This is a work around for a missing directory argument in older Python versions

0 commit comments

Comments
 (0)