add local to incoming
This commit is contained in:
@@ -95,7 +95,7 @@ local function read_form_file()
|
||||
ngx.log(ngx.INFO, 'COMPRESS FILE -> ', files[i])
|
||||
|
||||
-- Compress image
|
||||
incoming = file_dir .. "/" .. files[i]
|
||||
local incoming = file_dir .. "/" .. files[i]
|
||||
output_file[i] = file_dir .. "/" .. uuid() .. ".jpg"
|
||||
|
||||
ngx.log(ngx.INFO, 'INPUT FILE -> ', incoming)
|
||||
|
||||
Reference in New Issue
Block a user