Skip to content

Commit

Permalink
agent: Fix API binding
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
  • Loading branch information
fbertux committed Aug 2, 2019
1 parent ab0a378 commit da3629a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/updatehub/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func main() {

go func() {
router := server.NewBackendRouter(backend)
if err := http.ListenAndServe(":8080", router.HTTPRouter); err != nil {
if err := http.ListenAndServe("127.0.0.1:8080", router.HTTPRouter); err != nil {
log.Fatal(err)
} else {
log.Info("API HTTP server started")
Expand Down

0 comments on commit da3629a

Please sign in to comment.