From 6cb2faed7c33739854a57c6d023370a8a514b637 Mon Sep 17 00:00:00 2001 From: weli Date: Fri, 28 Jul 2023 02:55:50 +0800 Subject: [PATCH] change combined image from png to jpeg --- scripts/combine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/combine.lua b/scripts/combine.lua index 652a0fd..85b4f26 100644 --- a/scripts/combine.lua +++ b/scripts/combine.lua @@ -24,7 +24,7 @@ ngx.log(ngx.INFO, 'REQ_BODY -> ', ngx.req.get_body_data()) local images = req_body["payload"]["images"] local combined_uuid = uuid.generate_v4() -local combined = file_dir .. "/" .. combined_uuid .. ".png"; +local combined = file_dir .. "/" .. combined_uuid .. ".jpeg"; local len = table.getn(images) if len == 0 then