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:
parent
e7ee8cd889
commit
6511f15d5b
BIN
dist/antd_web_apps.tar.gz
vendored
BIN
dist/antd_web_apps.tar.gz
vendored
Binary file not shown.
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user