Closed kmelve closed 6 years ago
I am getting the same issue, same version of nuxt
edit:
If it's any consolation, a hack you can do is add a guard for res.send
like so:
this.addServerMiddleware({
path: 'robots.txt',
handler(req, res) {
res.setHeader('Content-Type', 'text/plain');
if (res.send) res.send(renderedRobots);
else res.end(renderedRobots);
},
});
};
Fixed in 1.2.0
Followed the installation instructions and got this message:
I'm on
"nuxt": "^1.0.0-rc11"