From 632d53dbb9280b36ac249c946c7be64e7914a332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=94=B7?= Date: Sun, 23 Jul 2023 00:15:17 +0800 Subject: [PATCH] add log --- scripts/lib/upyun_upload.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/upyun_upload.lua b/scripts/lib/upyun_upload.lua index 3687afe..08ee482 100644 --- a/scripts/lib/upyun_upload.lua +++ b/scripts/lib/upyun_upload.lua @@ -40,7 +40,7 @@ function upyun_upload.upload(filepath, filename) else ngx.status = 200 local fullpath = ngx.var.upyun_domain .. "/" .. directory .. "/" .. filename - ngx.log(ngx.INFO, "UPYUN URL -> ", fullpath) + ngx.log(ngx.INFO, "SUCCESS UPLOAD -> UPYUN URL -> ", fullpath) ngx.say(fullpath) end end