增加wasm文件类型

pull/1/head
yutent 2023-02-23 14:31:42 +08:00
parent f5de90be2c
commit d5370b767b
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ const MIME_TYPES = {
ttf: 'font/font-ttf', ttf: 'font/font-ttf',
woff: 'font/font-woff', woff: 'font/font-woff',
woff2: 'font/font-woff2', woff2: 'font/font-woff2',
wast: 'application/wast',
wasm: 'application/wasm',
other: 'application/octet-stream' other: 'application/octet-stream'
} }