mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
Fixed #328. Config file set appropriately.
This commit is contained in:
1 parent
8d3fa7ef49
commit
bf9595aa24
1 file changed
+1
-1
+1
-1
@@ -90,7 +90,7 @@ func init() {
|
||||
}
|
||||
|
||||
func InitializeConfig() {
|
||||
viper.SetConfigName(CfgFile)
|
||||
viper.SetConfigFile(CfgFile)
|
||||
viper.AddConfigPath(Source)
|
||||
err := viper.ReadInConfig()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user