commit bf3aa41: [Minor] Fix missing and superflous comma

twesterhever 40121680+twesterhever at users.noreply.github.com
Fri Jun 23 19:42:05 UTC 2023


Author: twesterhever
Date: 2023-06-23 08:54:21 +0000
URL: https://github.com/rspamd/rspamd/commit/bf3aa41aeafc58095080981e991ba579785e596d (refs/pull/4519/head)

[Minor] Fix missing and superflous comma
Thanks, @moisseev!

---
 src/plugins/lua/mime_types.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 24c107fec..428637d70 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -45,10 +45,10 @@ local settings = {
   extension_map = { -- extension -> mime_type
     html = 'text/html',
     htm = 'text/html',
-    pdf = 'application/pdf'
+    pdf = 'application/pdf',
     shtm = 'text/html',
     shtml = 'text/html',
-    txt = 'text/plain',
+    txt = 'text/plain'
   },
 
   bad_extensions = {


More information about the Commits mailing list