1
0
Fork 0
mirror of synced 2024-06-27 18:51:10 +12:00

Revert "Fix download error on Android"

This reverts commit dcce94a752.

We cannot fix this bug. ref: https://code.google.com/p/android/issues/detail?id=1978
This commit is contained in:
nagadomi 2016-02-14 11:41:32 +09:00
parent dcce94a752
commit ce4f6e7b7d

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))