From 847b674c7d5450c8b46a6dffb397846d8d8a060b Mon Sep 17 00:00:00 2001 From: ryu <114303361+ryuapp@users.noreply.github.com> Date: Wed, 1 May 2024 18:49:11 +0900 Subject: [PATCH] docs: remove mimes section in nodejs --- getting-started/nodejs.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/getting-started/nodejs.md b/getting-started/nodejs.md index 615948c3..bfe17a33 100644 --- a/getting-started/nodejs.md +++ b/getting-started/nodejs.md @@ -160,22 +160,6 @@ app.get( ) ``` -### `mimes` - -You can add MIME types with `mimes`: - -```ts -app.get( - '/static/*', - serveStatic({ - mimes: { - m3u8: 'application/vnd.apple.mpegurl', - ts: 'video/mp2t', - } - }) -) -``` - ## http2 You can run hono on a [Node.js http2 Server](https://nodejs.org/api/http2.html).