fix: use 0.0.0.0 instead of 127.0.0.0
This commit is contained in:
@@ -439,5 +439,5 @@ func Start(dir string) error {
|
||||
})
|
||||
|
||||
fmt.Printf("Server is running on http://localhost:%d\n", *config.Port)
|
||||
return http.ListenAndServe(fmt.Sprintf(":%d", *config.Port), nil)
|
||||
return http.ListenAndServe(fmt.Sprintf("0.0.0.0:%d", *config.Port), nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user