aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.js b/app.js
index 0bbd1f3..1130de1 100644
--- a/app.js
+++ b/app.js
@@ -8,6 +8,7 @@ const app = express();
app.use(express.urlencoded({ extended: true }));
app.use(express.json());
+app.get("/", (req, res) => res.redirect("/motto"));
app.use("/motto", motto);
app.listen(5005, () => console.log("Server started on http://localhost:5005"));