fix name
This commit is contained in:
@@ -18,7 +18,7 @@ ngx.log(ngx.INFO, 'upyun_remove_url -> ', upyun_remove_url)
|
||||
verify(httpc, authHeader, sudoerToken)
|
||||
|
||||
ngx.log(ngx.INFO, 'REMOVE UPYUN FILE -> start')
|
||||
local upyun_upload = require("lib.upyun_remove")
|
||||
local t_upyun_remove = require("lib.upyun_remove")
|
||||
ngx.log(ngx.INFO, 'REMOVE UPYUN FILE -> upyun_remove loaded')
|
||||
|
||||
--local file_to_remove = string.match(upyun_remove_url, ".*/(.*)")
|
||||
@@ -26,11 +26,5 @@ ngx.log(ngx.INFO, 'REMOVE UPYUN FILE -> upyun_remove loaded')
|
||||
local file_to_remove = upyun_remove_url
|
||||
ngx.log(ngx.INFO, 'REMOVE UPYUN FILE -> file to remove -> ', file_to_remove)
|
||||
|
||||
--local file_dir = ngx.var.tmp_file_dir
|
||||
--local fullpath = file_dir .. "/" .. file_to_remove
|
||||
--
|
||||
--ngx.log(ngx.INFO, 'REMOVE UPYUN FILE -> fullpath -> ', fullpath)
|
||||
--
|
||||
--upyun_upload.remove(fullpath, nil, 0)
|
||||
|
||||
upyun_upload.remove(file_to_remove, file_to_remove, 0)
|
||||
t_upyun_remove.remove(file_to_remove, file_to_remove, 0)
|
||||
Reference in New Issue
Block a user