Skip to content

Commit 970f268

Browse files
committed
fix(connect): fix style in example
1 parent 686eb8c commit 970f268

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ja/connect/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ ConnectやJunctionの実装を見てみると分かりますが、このアー
140140
しかし、この機能も「与えられたパスにマッチした場合のみに反応する_middleware_を登録する」という単純なものです。
141141

142142
```js
143-
app.use('/foo', function fooMiddleware(req, res, next) {
144-
// req.url starts with "/foo"
145-
next();
143+
app.use("/foo", function fooMiddleware(req, res, next) {
144+
// req.url starts with "/foo"
145+
next();
146146
});
147147
```
148148

0 commit comments

Comments
 (0)