mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 15:14:47 -04:00
Fixed #328. Config file set appropriately.
This commit is contained in:
parent
8d3fa7ef49
commit
bf9595aa24
@ -90,7 +90,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func InitializeConfig() {
|
func InitializeConfig() {
|
||||||
viper.SetConfigName(CfgFile)
|
viper.SetConfigFile(CfgFile)
|
||||||
viper.AddConfigPath(Source)
|
viper.AddConfigPath(Source)
|
||||||
err := viper.ReadInConfig()
|
err := viper.ReadInConfig()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user