From a02206781f261a033ecc0ce7ef46ef941c32beba Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Thu, 8 Sep 2022 23:55:33 +0200 Subject: [PATCH] Integrated the /session route into 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 d8e62b8..c5fcf9e 100644 --- a/server/api.ts +++ b/server/api.ts @@ -7,7 +7,7 @@ app.use(express.json()); app.use(require('../api/middlewares/error')); /** All routes that don't require authentication */ - +app.use("/session", require('../api/routes/session')); // Register the authentication middleware app.use(require('../api/middlewares/authenticate').authenticate);