From c4d076a9cd0ea1c54ebc6df1e78221baa22db1a6 Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 23 Feb 2023 09:45:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0wasm=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c3d0a5b..b26328f 100644 --- a/index.js +++ b/index.js @@ -36,6 +36,8 @@ const MIME_TYPES = { ttf: 'font/font-ttf', woff: 'font/font-woff', woff2: 'font/font-woff2', + wast: 'application/wast', + wasm: 'application/wasm', other: 'application/octet-stream' } diff --git a/package.json b/package.json index 8f6c4ef..04eede0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "simple-http", "displayName": "simple http", "description": "🔥 简单的http服务器, 方便临时调试html", - "version": "1.2.3", + "version": "1.3.0", "publisher": "yutent", "author": "Yutent [@yutent]", "icon": "logo.png",