summaryrefslogtreecommitdiff
path: root/http/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'http/service.go')
-rw-r--r--http/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/service.go b/http/service.go
index c31c4a47..bf25667d 100644
--- a/http/service.go
+++ b/http/service.go
@@ -64,7 +64,7 @@ func (s *Service) Serve() error {
s.rr = rr
s.srv = &Server{cfg: s.cfg, rr: s.rr}
- s.http = &http.Server{Addr: s.cfg.httpAddr()}
+ s.http = &http.Server{Addr: s.cfg.Address}
s.rr.Listen(s.listener)
s.srv.Listen(s.listener)