This commit is contained in:
1-6
2023-07-25 16:43:15 +08:00
parent fd2053e14c
commit 3a09771432
9 changed files with 272 additions and 40 deletions
+1 -2
View File
@@ -115,7 +115,7 @@ func initPlugins() {
if p.UUID != key {
continue
}
if p.Type != "goja" { //下载目录插件
if p.Type != "goja" && p.Type != "" { //下载目录插件
// Content-Type
var prefix = "?uuid=" + p.UUID
address := p.Address
@@ -149,7 +149,6 @@ func initPlugins() {
Error: err,
}
}
fmt.Println(zipfile)
defer os.Remove(zipfile)
if err := unzip(zipfile, 0755); err != nil {
return &storage.Final{