complete download image (#15)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
-- Get download image id
|
||||
local download_image_id = string.match(ngx.var.request_uri, ".*/(.*)$")
|
||||
ngx.log(ngx.INFO , "Download image id: " .. download_image_id)
|
||||
|
||||
-- Set redirect uri
|
||||
local uri = "/internal_file_upload/" .. download_image_id .. ".jpg"
|
||||
return ngx.exec(uri)
|
||||
---- Get download image id
|
||||
--local download_image_id = string.match(ngx.var.request_uri, ".*/(.*)$")
|
||||
--ngx.log(ngx.INFO , "Download image id: " .. download_image_id)
|
||||
--
|
||||
---- Set redirect uri
|
||||
--local uri = "/internal_file_upload/" .. download_image_id .. ".jpg"
|
||||
--return ngx.exec(uri)
|
||||
Reference in New Issue
Block a user