mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 06:17:45 +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() {
|
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 {
|
||||||
|
|||||||
Reference in new issue
Block a user