From a0603aa75c6211e18a311349ed17214daee59b44 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 15 Jul 2016 17:50:23 +0100 Subject: [PATCH] [Minor] Treat '.htm' as HTML files as well --- src/plugins/lua/mime_types.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index fc91ae8bf..b3216d6c7 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -31,6 +31,7 @@ local settings = { regexp = false, extension_map = { -- extension -> mime_type html = 'text/html', + htm = 'text/html', txt = 'text/plain', pdf = 'application/pdf' }, -- 2.39.5