Skip to content

Commit 8e645d9

Browse files
authored
fix: Fix the issue of obtaining errors in global configuration. (#7924)
1 parent 48abf71 commit 8e645d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/init/viper/viper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ func Init() {
8888

8989
global.CONF = serverConfig
9090
global.CONF.Base.InstallDir = baseDir
91-
global.CONF.Base.IsDemo = v.GetBool("system.is_demo")
92-
global.CONF.Base.IsIntl = v.GetBool("system.is_intl")
91+
global.CONF.Base.IsDemo = v.GetBool("base.is_demo")
92+
global.CONF.Base.IsIntl = v.GetBool("base.is_intl")
9393
global.CONF.Base.Version = version
9494
global.CONF.Base.Username = username
9595
global.CONF.Base.Password = password

0 commit comments

Comments
 (0)