diff --git a/srv.js b/srv.js index ed6b7cde562b40b3ee785493c4884753383742e4..58406a824bfa8bc8fcd25ffe8197069117355682 100755 --- a/srv.js +++ b/srv.js @@ -48,7 +48,7 @@ app.use(function(req, res, next) { } while (req.args.fgColor === req.args.bgColor); req.args.text = _(sampleTexts[Math.floor(Math.random() * sampleTexts.length)]); req.args.font = _fonts[Math.floor(Math.random() * _fonts.length)]; - req.args.icon = Math.floor(Math.random() * 36); + req.args.icon = Math.ceil(Math.random() * 36); req.args.signature = _(sampleSignatures[Math.floor(Math.random() * sampleSignatures.length)]); }