From 23430217fc147ef612f60bc75f6f920e87511ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=94=B7?= Date: Sun, 21 Jan 2024 03:02:40 +0800 Subject: [PATCH] fix --- scripts/lib/upyun_remove.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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