update remove request body

This commit is contained in:
XiaoLi
2024-01-07 21:17:04 +08:00
committed by XiaoLi
parent 6743af945b
commit a964335e54
3 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ function upyun_remove.remove(filepath, filename, retry)
local bucket = ngx.var.upyun_bucket
local directory = ngx.var.upyun_directory
if not filename then
filename = strip_path.strip_path(filepath)
--filename = strip_path.strip_path(filepath)
filename = filepath
end
ngx.log(ngx.INFO, 'bucket -> ', bucket)