diff --git a/scripts/lib/upyun_remove.lua b/scripts/lib/upyun_remove.lua index c8e15cf..a1a6f17 100644 --- a/scripts/lib/upyun_remove.lua +++ b/scripts/lib/upyun_remove.lua @@ -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