Skip to content

Commit

Permalink
再给个00
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Jan 13, 2022
1 parent 87747f2 commit 646beb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/measure.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ router.get('/:size(\\d+)', (req, res) => {
}
const size = parseInt(req.params.size, 10)
if (isNaN(size) || size > 200) return res.sendStatus(400)
const buffer = Buffer.alloc(1024 * 1024, '66ccff', 'hex')
const buffer = Buffer.alloc(1024 * 1024, '0066ccff', 'hex')
for (let i = 0; i < size; i++) {
res.send(buffer)
}
Expand Down

0 comments on commit 646beb0

Please sign in to comment.