Skip to content

Commit 0369e24

Browse files
authored
Merge pull request #75 from tcet-opensource/48-incorrect-response-on-route
48 incorrect response on route
2 parents 4bb4a8f + dd94b2e commit 0369e24

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

controller/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function home(req, res) {
2-
res.render("index", { title: "Express" });
2+
res.json({ res: "Server Working" });
33
}
44

55
export default { home };

public/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)