aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorMarvin Borner2020-10-01 16:45:33 +0200
committerMarvin Borner2020-10-01 16:45:33 +0200
commitce6a00fa25bd12774fa86ee384e840565ecf965b (patch)
tree8a4e2e1d719f7a3a26330dd4b9c46b08b150e779 /app.js
parentf2b0241434ff2ba4e461235a4c5d905487e537d1 (diff)
Added quotes frontend
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"));