1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-23 17:19:47 +02:00
This commit is contained in:
lxsang
2020-06-07 15:20:21 +02:00
parent fe4b1adb3b
commit 66bcfa83b0
3 changed files with 14 additions and 3 deletions

View File

@ -58,9 +58,9 @@ function IndexController:pdf(...)
if r then
local mime = std.mimeOf(tmp_file)
std.header(mime)
std.fb(tmp_file)
std.f(tmp_file)
return false
else
return self:error("Sorry.Problem generate PDF file")
end
end
end