add local to incoming

This commit is contained in:
2023-01-19 21:47:38 +08:00
parent 56b18d4ef7
commit 75d39c0651
+1 -1
View File
@@ -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)