add log
This commit is contained in:
@@ -33,7 +33,9 @@ function upyun_upload.upload(filepath)
|
||||
return
|
||||
else
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user