diff --git a/server.js b/server.js index 996c54f..da3ad24 100644 --- a/server.js +++ b/server.js @@ -130,7 +130,7 @@ app.get('*', function (req, res, next) { req.url = req.url.toLowerCase(); var filePath = 'build/docs/' + req.url + '.html'; - if (req.url.indexOf('/grunt') === 0) { + if (req.url.indexOf('/grunt.') === 0) { res.redirect(301, '/api' + req.url); return; }