mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added image to manual, mkv video handling, image onerror change to alt
This commit is contained in:
parent
10c030f306
commit
b7dc475cd4
5 changed files with 10 additions and 5 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue