diff options
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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")); |