Skip to content

Commit

Permalink
all interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccarthy committed Mar 16, 2019
1 parent edd3c7d commit 9bcc88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/render/site.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Build(output string, live bool) error {

go func() {
http.Handle("/", http.FileServer(http.Dir(filepath.Join(".", "output"))))
err := http.ListenAndServe(fmt.Sprintf("127.0.0.1:%d", ServePort), nil)
err := http.ListenAndServe(fmt.Sprintf("0.0.0.0:%d", ServePort), nil)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 9bcc88e

Please sign in to comment.