docs: add descriptions to all pages (#195)

This commit is contained in:
Luca Casonato
2022-05-17 02:19:32 +02:00
committed by GitHub
parent 637a0463b6
commit 2a2b948a58
15 changed files with 88 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
---
description: |
Add middleware routes to intercept requests or responses for analytics
purposes, access control, or anything else.
---
A middleware is defined in a `_middleware.ts` file. It will intercept the
request in order for you to perform custom logic before or after the route
handler. This allows modifying or checking requests and responses. Common