Explorar el Código

appenv: 去除兼容

Yi hace 1 año
padre
commit
47a96acf2d
Se han modificado 1 ficheros con 1 adiciones y 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":