Merge branch 'ak/instaweb-python-port-binding-fix'
The "instaweb" bound only to local IP address without "--local" and to all addresses with "--local", which was the other way around, when using Python's http.server class, which has been corrected. * ak/instaweb-python-port-binding-fix: instaweb: fix ip binding for the python http.servermaint
commit
294673a17e
|
|
@ -694,9 +694,9 @@ class GitWebRequestHandler(CGIHTTPRequestHandler):
|
|||
return result
|
||||
|
||||
|
||||
bind = "127.0.0.1"
|
||||
bind = "0.0.0.0"
|
||||
if "$local" == "true":
|
||||
bind = "0.0.0.0"
|
||||
bind = "127.0.0.1"
|
||||
|
||||
# Set our http root directory
|
||||
# This is a work around for a missing directory argument in older Python versions
|
||||
|
|
|
|||
Loading…
Reference in New Issue