mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
Move static to file provider (#71)
This commit is contained in:
@@ -58,12 +58,12 @@ func main() {
|
||||
os.Exit(0)
|
||||
}()
|
||||
|
||||
// Load and check configuration
|
||||
// Load configuration
|
||||
cfg, err := config.Load(cli, version)
|
||||
if err != nil {
|
||||
log.Fatal().Err(err).Msg("Cannot load configuration")
|
||||
}
|
||||
cfg.Display()
|
||||
log.Debug().Msg(cfg.Display())
|
||||
|
||||
// Init
|
||||
if diun, err = app.New(cfg, location); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user