image origin default to local
This commit is contained in:
+2
-3
@@ -35,9 +35,8 @@ if image_origin == "WX" then
|
|||||||
elseif image_origin == "LOCAL" then
|
elseif image_origin == "LOCAL" then
|
||||||
ngx.log(ngx.INFO, "IMAGE ORIGIN -> ", image_origin)
|
ngx.log(ngx.INFO, "IMAGE ORIGIN -> ", image_origin)
|
||||||
else
|
else
|
||||||
ngx.status = 400
|
image_origin = "LOCAL"
|
||||||
ngx.log(ngx.ERR, "COMBINE REQUEST PAYLOAD IMAGES ORIGIN NOT FOUND.")
|
ngx.log(ngx.INFO, "IMAGE ORIGIN default to LOCAL")
|
||||||
return
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Judge payload images para length
|
-- Judge payload images para length
|
||||||
|
|||||||
Reference in New Issue
Block a user