diff --git a/src/websrv.js b/src/websrv.js index a47948e..34c91a6 100644 --- a/src/websrv.js +++ b/src/websrv.js @@ -219,7 +219,7 @@ function Websrv(tlib) { fs.readFile(filePath, (error, content) => { if(error) { if(error.code == 'ENOENT') { - res.writeHead(404, { 'Content-Type': contentType }); + res.writeHead(404); res.end('404 - f0ck you', 'utf-8'); } else {