瀏覽代碼

Revert "Fix download error on Android"

This reverts commit dcce94a752f4eb6a66f1d7895bd386961a0104a2.

We cannot fix this bug. ref: https://code.google.com/p/android/issues/detail?id=1978
nagadomi 9 年之前
父節點
當前提交
ce4f6e7b7d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web.lua

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