Ver Fonte

bug fix

jinnrry há 1 ano atrás
pai
commit
a6b910f9c5
1 ficheiros alterados com 1 adições e 1 exclusões
  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