Skip to content

Commit 5fa50f3

Browse files
committed
fix settings load logic
1 parent 311f4c3 commit 5fa50f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/config/loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func InitEnv() {
5959
return strings.ToUpper(key), value
6060
})
6161

62-
config.Unmarshal("settings", &ENV.SETTINGS)
62+
config.Unmarshal("settings", ENV.SETTINGS["*"])
6363
}
6464

6565
func Load() {

0 commit comments

Comments
 (0)