Browse Source

updated version

worker-9 4 years ago
parent
commit
9f4f798f90
1 changed files with 2 additions and 2 deletions
  1. 2 2
      servercfg/serverconf.go

+ 2 - 2
servercfg/serverconf.go

@@ -73,7 +73,7 @@ func GetAPIConnString() string {
 	return conn
 	return conn
 }
 }
 func GetVersion() string {
 func GetVersion() string {
-	version := "0.7.2"
+	version := "0.7.3"
 	if config.Config.Server.Version != "" {
 	if config.Config.Server.Version != "" {
 		version = config.Config.Server.Version
 		version = config.Config.Server.Version
 	}
 	}
@@ -331,7 +331,7 @@ func GetPlatform() string {
 	platform := "linux"
 	platform := "linux"
 	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.SQLConn
 	}
 	}
 	return platform
 	return platform