1
0
Fork 0
mirror of synced 2024-05-18 03:42:23 +12:00

Fix download error on Android

This commit is contained in:
nagadomi 2016-02-14 11:26:46 +09:00
parent b5903b3d56
commit 35d4fc7a5e

View file

@ -227,7 +227,7 @@ function APIHandler:post()
end
end
end
local name = uuid() .. ".png"
local name = uuid() .. ".PNG"
local blob = image_loader.encode_png(alpha_util.composite(x, alpha))
self:set_header("Content-Length", string.format("%d", #blob))