mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
clean up
This commit is contained in:
parent
c35ac93a42
commit
3ffd170f45
@ -221,7 +221,6 @@ function DocController:asset(...)
|
||||
|
||||
if self.registry.fileaccess and ulib.exists(path) then
|
||||
local mime = std.mimeOf(path)
|
||||
print(mime)
|
||||
if POLICY.mimes[mime] then
|
||||
std.sendFile(path)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user