Skip to content

Commit

Permalink
fix: Correct typo in example documentation (#1531)
Browse files Browse the repository at this point in the history
- Fixed typo in the req.baseUrl example: changed 'konichiwa' to 'konnichiwa'
  • Loading branch information
GreyTearsDev committed Jun 24, 2024
1 parent a1529fe commit 90df6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/api/en/4x/req-baseUrl.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var greet = express.Router()

greet.get('/jp', function (req, res) {
console.log(req.baseUrl) // /greet
res.send('Konichiwa!')
res.send('Konnichiwa!')
})

app.use('/greet', greet) // load the router on '/greet'
Expand Down

0 comments on commit 90df6b9

Please sign in to comment.