Our server currently serves robots.txt and sitemap.xml.
|
if (!dev) { |
|
/** |
|
* Static Files |
|
*/ |
|
server.get('/robots.txt', (req, res) => { |
|
return res.sendFile('/static/robots.txt'); |
|
}); |
|
server.get('/sitemap.xml', (req, res) => { |
|
return res.sendFile('/static/sitemap.xm'); |
|
}); |
|
} |
Both files aren't generated at the moment. We should either remove this behavior or correctly generate them.
Our server currently serves
robots.txtandsitemap.xml.nteract.io/server.js
Lines 10 to 20 in 48f98e0
Both files aren't generated at the moment. We should either remove this behavior or correctly generate them.