Skip to content

Commit 261ed04

Browse files
docs(middleware): fix typo (#137)
1 parent 387e765 commit 261ed04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/basics/middleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 2
66

77
Middleware in Dart Frog allows you to execute code before and after a request is processed. You can modify the inbound request and outbound responses, provide dependencies, and more!
88

9-
In Dart Frog, a piece of middleware consists of a `middleware` function exported from a `_middleware.dart` file within a subdirectory of the `routes` folder. There can only ever be once piece of middleware per route directory with `routes/_middleware.dart` being middleware that is executed for all inbound requests.
9+
In Dart Frog, a piece of middleware consists of a `middleware` function exported from a `_middleware.dart` file within a subdirectory of the `routes` folder. There can only ever be one piece of middleware per route directory with `routes/_middleware.dart` being middleware that is executed for all inbound requests.
1010

1111
```dart
1212
import 'package:dart_frog/dart_frog.dart';

0 commit comments

Comments
 (0)