diff --git a/dist/antd_web_apps.tar.gz b/dist/antd_web_apps.tar.gz index d6cb2e1..6636aca 100644 Binary files a/dist/antd_web_apps.tar.gz and b/dist/antd_web_apps.tar.gz differ diff --git a/os/libs/common.lua b/os/libs/common.lua index 9d5bf90..e32a12e 100644 --- a/os/libs/common.lua +++ b/os/libs/common.lua @@ -1,10 +1,12 @@ require("sqlite") function fail(msg) + std.custom_header("Connection","close") std.json() std.t(JSON.encode({error=msg})) end function result(obj) + std.custom_header("Connection","close") std.json() std.t(JSON.encode({result=obj, error=false})) end