Skip to content

Commit

Permalink
[README] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rrabit42 authored Aug 4, 2020
1 parent 36e4715 commit b5f1462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Node.js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ app.use('/user/:id', function (req, res, next) {
```
```
// 특정 메소드(ex. get)에서만 middleware가 동작하도록 지정 가능
app.use('/user/:id', function (req, res, next) {
app.get('/user/:id', function (req, res, next) {
res.send('USER')
})
```
Expand Down

0 comments on commit b5f1462

Please sign in to comment.