add log
This commit is contained in:
@@ -40,7 +40,7 @@ function upyun_upload.upload(filepath, filename)
|
|||||||
else
|
else
|
||||||
ngx.status = 200
|
ngx.status = 200
|
||||||
local fullpath = ngx.var.upyun_domain .. "/" .. directory .. "/" .. filename
|
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)
|
ngx.say(fullpath)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user