summaryrefslogtreecommitdiff
path: root/http/service.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 17:18:23 +0300
committerWolfy-J <[email protected]>2018-06-10 17:18:23 +0300
commit094a4c211022b9446ef988c74c546ad6efb09722 (patch)
tree603ade627491960108154d6301868c9b881cd101 /http/service.go
parent232aa8f3c20a060e556ab431467f4f7b3f83bfbf (diff)
http service
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)