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:
parent
dcce94a752
commit
ce4f6e7b7d
1 changed files with 1 additions and 1 deletions
2
web.lua
2
web.lua
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue