mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-26 02:29:47 +02:00
fix
This commit is contained in:
@ -31,12 +31,7 @@ shared.get = function(sharedid)
|
||||
else
|
||||
|
||||
local p = shared.ospath(sharedid)
|
||||
std.header(std.mimeOf(p))
|
||||
if std.is_bin(p) then
|
||||
std.fb(p)
|
||||
else
|
||||
std.f(p)
|
||||
end
|
||||
std.sendFile(p)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user