diff --git a/index.js b/index.js index 8450850..95d15c9 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,8 @@ app.get("/", (req, res) => { app.get("/database", (req, res) => { res.json({ - name: config.mysql.database + name: config.mysql.database, + host: config.mysql.host }); }); diff --git a/static/index.html b/static/index.html index 5c2cf49..c4875fc 100644 --- a/static/index.html +++ b/static/index.html @@ -171,7 +171,7 @@ var d = new Date(); date.innerHTML = "Generated " + d.toString() + ".
Number of tables: " + Object.keys(tables) - .length; + .length + "
Host: " + db.host; })()