fixes build

This commit is contained in:
Cody Lee 2022-11-23 21:40:20 -06:00
parent babdf53f15
commit d27fb7aba6
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ type Server struct {
func init() { // nolint: gochecknoinits func init() { // nolint: gochecknoinits
s := &Server{plugins: plugins, start: time.Now(), Config: &Config{ s := &Server{plugins: plugins, start: time.Now(), Config: &Config{
Port: DefaultPort, Port: DefaultPort,
HTMLPath: filepath.Join(poller.DefaultObjPath, "web"), HTMLPath: filepath.Join(poller.DefaultObjPath(), "web"),
MaxEvents: DefaultEvents, MaxEvents: DefaultEvents,
}} }}
plugins.Config = s.Config plugins.Config = s.Config