diff --git a/controller/index.js b/controller/index.js index 50aaa32..8dab0fb 100644 --- a/controller/index.js +++ b/controller/index.js @@ -1,5 +1,5 @@ function home(req, res) { - res.render("index", { title: "Express" }); + res.json({ res: "Server Working" }); } export default { home }; diff --git a/public/index.html b/public/index.html deleted file mode 100644 index ab1ad8a..0000000 --- a/public/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - Express - - - - -

Express

-

Welcome to Express

- - -