jinnrry 1 year ago
parent
commit
a6b910f9c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/config/config.go

+ 1 - 1
server/config/config.go

@@ -51,7 +51,7 @@ const SSLTypeUser = "1" //用户上传证书
 
 var DBTypes []string = []string{DBTypeMySQL, DBTypeSQLite}
 
-var Instance *Config
+var Instance *Config = &Config{}
 
 func Init() {
 	var cfgData []byte