bugfix GetPlatform

This commit is contained in:
yearski
2023-02-19 20:47:11 -07:00
committed by GitHub
parent baa90b2257
commit 1a8538d0b4

View File

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