1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-28 02:08:22 +01:00

Merge pull request #11 from lxsang/master

clean up
This commit is contained in:
Xuan Sang LE 2020-09-13 17:58:07 +02:00 committed by GitHub
commit f03d18499b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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