diff --git a/src/websrv.js b/src/websrv.js index 9bbd82b..00b59cc 100644 --- a/src/websrv.js +++ b/src/websrv.js @@ -243,7 +243,7 @@ function Websrv(tlib) { } else if(url[2] == "latest") { lib.sql.query("select * from `f0ck`.`items` order by `stamp` desc limit 1", (err, rows) => { - res.writeHead(200, { 'Content-Type': 'application/json' }); + res.writeHead(200, { 'Content-Type': 'text/html' }); res.end(JSON.stringify({latest: rows[0].stamp}), 'utf-8'); }); }