use value from config

This commit is contained in:
A.Unger
2019-12-18 13:11:33 +01:00
parent b922327074
commit 5708f07a37
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ func Server(opts ...Option) (http.Service, error) {
service := http.NewService(
http.Logger(options.Logger),
http.Namespace(options.Namespace),
http.Name("web.phoenix"),
http.Name("phoenix"),
http.Version(version.String),
http.Address(options.Config.HTTP.Addr),
http.Context(options.Context),