Added image to manual, mkv video handling, image onerror change to alt

This commit is contained in:
MrFry 2019-12-27 09:08:29 +01:00
parent 10c030f306
commit b7dc475cd4
5 changed files with 10 additions and 5 deletions

View file

@ -112,6 +112,7 @@ function appGetFileType (app, wildcard, contentType, pageToRender) {
const fileTypes = [
['/*.mp4', 'video/mp4', 'stuff/video'],
['/*.mkv', 'audio/x-matroska', 'stuff/video'],
['/*.mp3', 'audio/mpeg', 'stuff/audio'],
['/*.pdf', 'application/pdf'],
['/*.zip', 'application/zip']