/Knowledge/sources/honojs__hono/llms-full/ssg-helper-middleware-disablessg--4de35c3944e1.md
SSG Helper: Middleware > disableSSG - hono-docs
SSG Helper: Middleware disableSSG Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt disablessg Summary R...
SSG Helper: Middleware > disableSSG
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#disablessg
Summary
Routes with the disableSSG middleware set are excluded from static file generation by toSSG. ts app.get('/api', disableSSG(), (c) => c.text('an-api'))
Content
Routes with the disableSSG middleware set are excluded from static file generation by toSSG.
app.get('/api', disableSSG(), (c) => c.text('an-api'))
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#disablessg",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / SSG Helper > Middleware > disableSSG",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 753,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "SSG Helper: Middleware > disableSSG",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}