/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-strict-mode-a5cd75ba39fb-strict-mode-s0624-c0000.md

strict mode - hono-docs

strict mode Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt strict mode Summary Strict mode defau...

strict mode

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#strict-mode

Summary

Strict mode defaults to true and distinguishes the following routes. - /hello - /hello/ app.get('/hello') will not match GET /hello/. By setting strict mode to false, both paths will be treated equally. ```ts twoslash import...

Content

Strict mode defaults to true and distinguishes the following routes.

  • /hello
  • /hello/

app.get('/hello') will not match GET /hello/.

By setting strict mode to false, both paths will be treated equally.

import { Hono } from 'hono'
// ---cut---
const app = new Hono({ strict: false })
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-strict-mode-a5cd75ba39fb-strict-mode-s0624-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.