mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-22 21:13:59 +00:00
Fixed #328. Config file set appropriately.
This commit is contained in:
parent
8d3fa7ef49
commit
bf9595aa24
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ func init() {
|
|||
}
|
||||
|
||||
func InitializeConfig() {
|
||||
viper.SetConfigName(CfgFile)
|
||||
viper.SetConfigFile(CfgFile)
|
||||
viper.AddConfigPath(Source)
|
||||
err := viper.ReadInConfig()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue