mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
This commit is contained in:
@@ -113,6 +113,7 @@ function appGetFileType (app, wildcard, contentType, pageToRender) {
|
|||||||
const fileTypes = [
|
const fileTypes = [
|
||||||
['/*.mp4', 'video/mp4', 'stuff/video'],
|
['/*.mp4', 'video/mp4', 'stuff/video'],
|
||||||
['/*.mp3', 'audio/mpeg', 'stuff/audio'],
|
['/*.mp3', 'audio/mpeg', 'stuff/audio'],
|
||||||
|
['/*.pdf', 'application/pdf'],
|
||||||
['/*.zip', 'application/zip']
|
['/*.zip', 'application/zip']
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user