Added the links router to the api server

This commit is contained in:
Mathias Wagner 2022-09-09 01:10:57 +02:00
parent c7a88c133b
commit ed75a8ed49
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -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}`);