fix combine filename

This commit is contained in:
2023-07-28 03:07:43 +08:00
parent ee53eac754
commit 6840b03afa
+1 -1
View File
@@ -17,7 +17,7 @@ local file_to_upload = string.match(ngx.var.request_uri, ".*/(.*)")
ngx.log(ngx.INFO, 'UPLOAD COMBINED IMAGE -> file to upload -> ', file_to_upload) ngx.log(ngx.INFO, 'UPLOAD COMBINED IMAGE -> file to upload -> ', file_to_upload)
local file_dir = ngx.var.tmp_file_dir local file_dir = ngx.var.tmp_file_dir
local fullpath = file_dir .. "/" .. file_to_upload .. ".png"; local fullpath = file_dir .. "/" .. file_to_upload
ngx.log(ngx.INFO, 'UPLOAD COMBINED IMAGE -> fullpath -> ', fullpath) ngx.log(ngx.INFO, 'UPLOAD COMBINED IMAGE -> fullpath -> ', fullpath)