1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-26 01:18:21 +01:00
This commit is contained in:
lxsang 2020-09-13 17:57:12 +02:00
parent c35ac93a42
commit 3ffd170f45

View File

@ -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