image origin default to local

This commit is contained in:
2023-08-10 16:29:46 +08:00
parent 5355f80ff1
commit 6f81ed0895
+2 -3
View File
@@ -35,9 +35,8 @@ if image_origin == "WX" then
elseif image_origin == "LOCAL" then
ngx.log(ngx.INFO, "IMAGE ORIGIN -> ", image_origin)
else
ngx.status = 400
ngx.log(ngx.ERR, "COMBINE REQUEST PAYLOAD IMAGES ORIGIN NOT FOUND.")
return
image_origin = "LOCAL"
ngx.log(ngx.INFO, "IMAGE ORIGIN default to LOCAL")
end
-- Judge payload images para length