Fixed robots.txt
parent
59ee66641d
commit
8effc47206
|
@ -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'
|
||||
)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue