fix: use application/octet-stream as default mime type, closes #36
This commit is contained in:
@@ -1074,6 +1074,8 @@ function M:fetch(job)
|
|||||||
updates[tostring(file.url)] = mime
|
updates[tostring(file.url)] = mime
|
||||||
elseif opts.fallback_file1 then
|
elseif opts.fallback_file1 then
|
||||||
unknown[#unknown + 1] = file
|
unknown[#unknown + 1] = file
|
||||||
|
else
|
||||||
|
updates[tostring(file.url)] = "application/octet-stream"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user