fix
This commit is contained in:
@@ -5,6 +5,7 @@ package.path = package.path .. ';<SCRIPT_PATH>/?.lua';
|
||||
|
||||
local pl = require "pl.pretty"
|
||||
local http = require 'resty.http'
|
||||
local cjson = require "cjson"
|
||||
local yun_download = require("lib.upyun_download")
|
||||
local Upt = require("lib.upt")
|
||||
|
||||
@@ -16,7 +17,7 @@ local function upyun_download_file()
|
||||
|
||||
local uri = ngx.unescape_uri(ngx.var.arg_uri)
|
||||
ngx.log(ngx.INFO, "REQUEST UPYUN DOWNLOAD : URI -> " .. uri)
|
||||
yun_download.upyun_download(httpc, Upt, pl, uri)
|
||||
yun_download.upyun_download(httpc, cjson, Upt, pl, uri)
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user