Wire data_source into Document render, register Endpoint handlers via run_artifact, restore marqdo-blog as an Artifact site, and replace old compose_* web golds with ADR 0007 fixtures and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
507 B
507 B
title: web.use middleware smoke description: First-class middleware via web.use (replaces configure junk drawer). import web:ext/web/web.mq.md
main
headers =
| header | value |
|---|---|
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
pg = > web.page title="use-smoke"
app = > web.app page=pg
app = > web.use app=app middleware=headers
mw = middleware
sec = security
sec
print text=use-ok
print text=use-fail