1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-19 18:08:21 +01:00

fix send file bug

This commit is contained in:
lxsang 2022-02-23 09:21:06 +01:00
parent e7ee8cd889
commit 6511f15d5b
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -33,7 +33,7 @@ function NotfoundController:index(...)
if ulib.exists(path) then
std.header("text/plain")
std.f(path)
std.sendFile(path)
else
self:error("No script found: "..path)
end