From ed75a8ed491cdd838d06cb560e07403766cdf11a Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Fri, 9 Sep 2022 01:10:57 +0200 Subject: [PATCH] Added the links router to the api server --- server/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api.ts b/server/api.ts index c5fcf9e..eace2bc 100644 --- a/server/api.ts +++ b/server/api.ts @@ -13,7 +13,7 @@ app.use("/session", require('../api/routes/session')); app.use(require('../api/middlewares/authenticate').authenticate); /** All routes that require authentication */ - +app.use("/links", require('../api/routes/links')); /** Logs something with an api prefix */ const log = (msg: string) => console.log(`[API] ${msg}`);