This commit is contained in:
2024-01-21 03:02:40 +08:00
parent 592162e2ee
commit 23430217fc
+2 -2
View File
@@ -43,7 +43,7 @@ function upyun_remove.remove(filepath, filename, retry)
ngx.log(ngx.INFO, 'bucket -> ', bucket)
ngx.log(ngx.INFO, 'directory -> ', directory)
local removePath = bucket .. " / " .. directory .. " / " .. filename
local removePath = bucket .. "/" .. directory .. "/" .. filename
ngx.log(ngx.INFO, " removePath " , removePath)
--local options = {
@@ -70,7 +70,7 @@ function upyun_remove.remove(filepath, filename, retry)
end
else
ngx.status = 200
local fullpath = ngx.var.upyun_domain .. " / " .. directory .. " / " .. filename
local fullpath = ngx.var.upyun_domain .. "/" .. directory .. "/" .. filename
ngx.log(ngx.INFO, "SUCCESS REMOVE -> UPYUN URL -> ", fullpath)
ngx.say(fullpath)
end