Explorar o código

appenv: 去除兼容

Yi hai 1 ano
pai
achega
47a96acf2d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      conf/setting/setting.go

+ 1 - 1
conf/setting/setting.go

@@ -110,7 +110,7 @@ func Setup() {
 	} else {
 		CurrentPath = workDir
 	}
-	CurrentPath = "./"
+
 	appEnv = strings.ToLower(os.Getenv("APP_ENVIRONMENT"))
 	switch appEnv {
 	case "test":