/Knowledge/sources/honojs__hono/llms-full/bun-serve-static-files-mimes--084bed74b788.md
Bun: Serve static files > mimes - hono-docs
Bun: Serve static files mimes Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt mimes Summary You can ad...
Bun: Serve static files > mimes
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#mimes
Summary
You can add MIME types with mimes: ts app.get( '/static/*', serveStatic({ mimes: { m3u8: 'application/vnd.apple.mpegurl', ts: 'video/mp2t', }, }) )
Content
You can add MIME types with mimes:
app.get(
'/static/*',
serveStatic({
mimes: {
m3u8: 'application/vnd.apple.mpegurl',
ts: 'video/mp2t',
},
})
)
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#mimes",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Bun > Serve static files > `mimes`",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 415,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Bun: Serve static files > mimes",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}