animeic-cd il y a 1 an
Parent
commit
fdd35ebf91
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/conf/app.go

+ 1 - 1
src/conf/app.go

@@ -90,7 +90,7 @@ func NewAppConf(filePath string) (*AppConf, error) {
 
 	uploadPkgUrl := os.Getenv("UPLOAD_PKG_URL")
 	if len(uploadPkgUrl) > 0 {
-		c.Nats.Url = uploadPkgUrl
+		c.UploadPkgUrl = uploadPkgUrl
 	}
 	fmt.Println("upload url =>", uploadPkgUrl)