diff --git a/.eleventy.js b/.eleventy.js index d48d7ac..b2f39d6 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -89,6 +89,7 @@ module.exports = function(eleventyConfig) { browserSync.addMiddleware("*", (req, res) => { // Provides the 404 content without redirect. + res.writeHead(404, {"Content-Type": "text/html; charset=UTF-8"}); res.write(content_404); res.end(); });