diff --git a/lib/dev.js b/lib/dev.js index abf1385..977d85f 100644 --- a/lib/dev.js +++ b/lib/dev.js @@ -202,6 +202,8 @@ export default async function createServer(root = '', conf = {}) { break + case 'webmanifest': + case 'json': case 'png': case 'jpg': case 'jpeg': diff --git a/lib/mime-tpyes.js b/lib/mime-tpyes.js index 8ff86aa..233cc75 100644 --- a/lib/mime-tpyes.js +++ b/lib/mime-tpyes.js @@ -14,6 +14,7 @@ const MIME_TYPES = { bmp: 'image/x-ms-bmp', js: 'application/javascript;charset=utf-8', json: 'application/json;charset=utf-8', + webmanifest: 'application/json;charset=utf-8', mp3: 'audio/mpeg', ogg: 'audio/ogg', m4a: 'audio/x-m4a',