add log
This commit is contained in:
@@ -33,7 +33,9 @@ function upyun_upload.upload(filepath)
|
|||||||
return
|
return
|
||||||
else
|
else
|
||||||
ngx.status = 200
|
ngx.status = 200
|
||||||
ngx.say(ngx.var.upyun_cdn .. directory .. "/" .. filename)
|
local fullpath = ngx.var.upyun_cdn .. directory .. "/" .. filename
|
||||||
|
ngx.log(ngx.INFO, "UPYUN URL -> ", fullpath)
|
||||||
|
ngx.say(fullpath)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user