From bbbf42b68568e320cad0a929ecae97282f2be064 Mon Sep 17 00:00:00 2001 From: MrFry Date: Mon, 18 Nov 2019 09:25:59 +0100 Subject: [PATCH] PDF --- modules/stuff.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/stuff.js b/modules/stuff.js index 9ca8ac1..af2eb50 100644 --- a/modules/stuff.js +++ b/modules/stuff.js @@ -113,6 +113,7 @@ function appGetFileType (app, wildcard, contentType, pageToRender) { const fileTypes = [ ['/*.mp4', 'video/mp4', 'stuff/video'], ['/*.mp3', 'audio/mpeg', 'stuff/audio'], + ['/*.pdf', 'application/pdf'], ['/*.zip', 'application/zip'] ]