FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(connect): fix style in example · azu/JavaScript-Plugin-Architecture@970f268 · GitHub

Repository navigation

Commit 970f268

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎ja/connect/README.md‎

Lines changed: 3 additions & 3 deletions
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)

Back | FazBrowse Home | New Git URL