Browse Source

appenv: 去除兼容

Yi 1 year ago
parent
commit
47a96acf2d
1 changed files with 1 additions and 1 deletions
  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":