diff --git a/config/routes/index.js b/config/routes/index.js index c7c54c1..61f70e0 100644 --- a/config/routes/index.js +++ b/config/routes/index.js @@ -32,9 +32,10 @@ module.exports = router // robots.txt .get('/robots.txt', (req, res) => { - res.type('text/plain') - res.send('User-agent: *\n' + - 'Disallow: /map/*\n' + res.set('Content-Type', 'text/plain') + .send('User-agent: *\n' + + 'Disallow: /map/*\n' + + 'Allow: /map/demo' ) })