compress and upload upyun success

This commit is contained in:
XiaoLi
2023-01-17 19:39:08 +08:00
committed by XiaoLi
parent a47be34b9c
commit 6f98a1d1a0
3 changed files with 15 additions and 1 deletions
+5
View File
@@ -109,6 +109,11 @@ local function read_form_file()
handle:close()
-- Upload compressed file to upyun
local upyun_upload = require("lib.upyun_upload")
ngx.log(ngx.INFO, 'UPLOAD COMPRESSED IMAGE -> fullpath -> ', output_file[i])
upyun_upload.upload(output_file[i], nil)
end