mirror of
https://github.com/strongdm/comply
synced 2024-11-22 07:34:54 +00:00
all interfaces
This commit is contained in:
parent
edd3c7dd44
commit
9bcc88eebc
@ -94,7 +94,7 @@ func Build(output string, live bool) error {
|
|||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
http.Handle("/", http.FileServer(http.Dir(filepath.Join(".", "output"))))
|
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 {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user