Added the links router to the api server
This commit is contained in:
parent
c7a88c133b
commit
ed75a8ed49
@ -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}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user