Summary
Added serve-static
middleware for Deno.
import { serve } from 'https://deno.land/std@0.146.0/http/server.ts'
import { Hono, serveStatic } from 'https://deno.land/x/hono/mod.ts'
const app = new Hono()
app.get('/favicon.ico', serveStatic({ path: './public/favicon.ico' }))
//...
serve(app.fire())
What's Changed
- chore: rm
*.ts.test
from deno_dist by @yusukebe in #338 - feat: add
serve-static
middleware for deno by @yusukebe in #339
Full Changelog: v1.6.0...v1.6.1