aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index 1130de1..a527074 100644
--- a/app.js
+++ b/app.js
@@ -2,6 +2,7 @@ require("dotenv").config();
const express = require("express");
const motto = require("./motto");
+const auth = require("./auth");
const app = express();
@@ -10,5 +11,6 @@ app.use(express.json());
app.get("/", (req, res) => res.redirect("/motto"));
app.use("/motto", motto);
+app.use("/auth", auth);
app.listen(5005, () => console.log("Server started on http://localhost:5005"));