change to PNG

This commit is contained in:
2022-08-22 23:59:02 +08:00
parent ae5a0c0337
commit 980fec142f
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ local file_to_upload = string.match(ngx.var.request_uri, ".*/(.*)")
ngx.log(ngx.INFO, 'UPLOAD COMBINED IMAGE -> file to upload -> ', file_to_upload)
local file_dir = ngx.var.tmp_file_dir
local fullpath = file_dir .. "/" .. file_to_upload .. ".jpeg";
local fullpath = file_dir .. "/" .. file_to_upload .. ".png";
ngx.log(ngx.INFO, 'UPLOAD COMBINED IMAGE -> fullpath -> ', fullpath)