This commit is contained in:
Roberto Hidalgo 2023-01-03 22:40:39 -06:00
parent 7e5dbed4f5
commit 1af237bb2d
2 changed files with 5 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,3 +1,5 @@
puerta
puerta.db
config.joao.yaml
local.db
config.joao.yaml
test.db

View File

@ -55,7 +55,7 @@ var serverCommand = &command.Command{
return err
}
logrus.Infof("Listening on port %d", cfg.HTTP.Listen)
return http.ListenAndServe(fmt.Sprintf("localhost:%d", cfg.HTTP.Listen), router)
logrus.Infof("Listening at %s", cfg.HTTP.Listen)
return http.ListenAndServe(cfg.HTTP.Listen, router)
},
}