Bläddra i källkod

bugfix GetPlatform

yearski 2 år sedan
förälder
incheckning
1a8538d0b4
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

@@ -494,7 +494,7 @@ func GetPlatform() string {
 	if os.Getenv("PLATFORM") != "" {
 	if os.Getenv("PLATFORM") != "" {
 		platform = os.Getenv("PLATFORM")
 		platform = os.Getenv("PLATFORM")
 	} else if config.Config.Server.Platform != "" {
 	} else if config.Config.Server.Platform != "" {
-		platform = config.Config.Server.SQLConn
+		platform = config.Config.Server.Platform
 	}
 	}
 	return platform
 	return platform
 }
 }