From e0e0987117f1638838e2910a0c22f5c134ff54fb Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 12 Oct 2023 13:41:56 +0300 Subject: [PATCH] vweb: add mime type support for static .md files --- vlib/vweb/vweb.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index ff06d7ee6c..c1ec5bbfcc 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -87,6 +87,7 @@ pub const ( '.js': 'text/javascript' '.json': 'application/json' '.jsonld': 'application/ld+json' + '.md': 'text/markdown' '.mid': 'audio/midi audio/x-midi' '.midi': 'audio/midi audio/x-midi' '.mjs': 'text/javascript'