Forráskód Böngészése

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 éve
szülő
commit
ce4f6e7b7d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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))