diff options
author | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
commit | 734fab795eb5ee396ee76955c9ddadc4f3b09112 (patch) | |
tree | cec3a313fe207c3f91cd142d6d37202ef4db9494 /service/static/service.go | |
parent | 6122fca108c20984732c969fb1ba53cce5b3c44a (diff) |
https and http2 support
Diffstat (limited to 'service/static/service.go')
-rw-r--r-- | service/static/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/static/service.go b/service/static/service.go index 98d8313c..0c101ceb 100644 --- a/service/static/service.go +++ b/service/static/service.go @@ -22,7 +22,7 @@ type Service struct { // Init must return configure service and return true if service hasStatus enabled. Must return error in case of // misconfiguration. Services must not be used without proper configuration pushed first. func (s *Service) Init(cfg *Config, r *rrttp.Service) (bool, error) { - if !cfg.Enable || r == nil { + if r == nil { return false, nil } |