]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix missing and superflous comma 4519/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 23 Jun 2023 08:54:21 +0000 (08:54 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 23 Jun 2023 08:54:21 +0000 (08:54 +0000)
Thanks, @moisseev!

src/plugins/lua/mime_types.lua

index 24c107fecafe0f972a306306b744f071c874879a..428637d70dfe830547d0455f41f0c4371022d0c8 100644 (file)
@@ -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 = {