fixes build
This commit is contained in:
parent
babdf53f15
commit
d27fb7aba6
|
|
@ -52,7 +52,7 @@ type Server struct {
|
|||
func init() { // nolint: gochecknoinits
|
||||
s := &Server{plugins: plugins, start: time.Now(), Config: &Config{
|
||||
Port: DefaultPort,
|
||||
HTMLPath: filepath.Join(poller.DefaultObjPath, "web"),
|
||||
HTMLPath: filepath.Join(poller.DefaultObjPath(), "web"),
|
||||
MaxEvents: DefaultEvents,
|
||||
}}
|
||||
plugins.Config = s.Config
|
||||
|
|
|
|||
Loading…
Reference in New Issue