aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorLarsVomMars2020-10-01 16:48:23 +0200
committerLarsVomMars2020-10-01 16:48:23 +0200
commitc0469923b81368d087746a0789fec416ecdec43c (patch)
tree85485162adf07781b8eb0c19b37a9f34ec4e7320 /app.js
parent11ec7d944ad240ddf696ee808a0121eeda13d493 (diff)
parentce6a00fa25bd12774fa86ee384e840565ecf965b (diff)
Merge
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 a527074..b4f4282 100644
--- a/app.js
+++ b/app.js
@@ -3,6 +3,7 @@ const express = require("express");
const motto = require("./motto");
const auth = require("./auth");
+const quotes = require("./quotes");
const app = express();
@@ -12,5 +13,6 @@ app.use(express.json());
app.get("/", (req, res) => res.redirect("/motto"));
app.use("/motto", motto);
app.use("/auth", auth);
+app.use("/quotes", quotes);
app.listen(5005, () => console.log("Server started on http://localhost:5005"));