mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Attempt to resolve issue 579.
Config file is not being picked up when running `hugo server --watch` from withing the hugo project directory (the site).
This commit is contained in:
parent
83fd92627c
commit
d2af0d4a25
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -39,7 +39,7 @@ import (
|
|||
)
|
||||
|
||||
// A set of paths to look for the config file in
|
||||
var configPaths []string
|
||||
var configPaths []string = []string{"."}
|
||||
|
||||
// Name of file to look for inside the path
|
||||
var configName string = "config"
|
||||
|
|
Loading…
Reference in a new issue