structure changes
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/hacdias/caddy-hugo/config"
|
||||
"github.com/hacdias/caddy-hugo/tools/commands"
|
||||
"github.com/hacdias/caddy-hugo/tools/hugo"
|
||||
"github.com/robfig/cron"
|
||||
"github.com/spf13/cast"
|
||||
"github.com/spf13/hugo/parser"
|
||||
@@ -144,7 +144,7 @@ func parseCompleteFile(r *http.Request, c *config.Config, rawFile map[string]int
|
||||
return
|
||||
}
|
||||
|
||||
go commands.Run(c, false)
|
||||
go hugo.Run(c, false)
|
||||
})
|
||||
scheduler.Start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user