diff --git a/README.md b/README.md index eabddd9..3648024 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,11 @@ An open-source social media. +You can find the front-end [here](https://github.com/CookieDasora/project-knedita-client) + ## Stack -**Client**: React, TailwindCSS and Radix UI (Primitives and Icons) +**Client**: NextJS, TailwindCSS and Radix UI Icons **Server**: ExpressJS, Jest, Docker, Postgresql, Redis, Prisma, AWS, SWC and Typescript diff --git a/src/server.ts b/src/server.ts index ab672dd..60ef14a 100644 --- a/src/server.ts +++ b/src/server.ts @@ -10,8 +10,7 @@ const server = createServer(app) const io = createSocketIOInstance(server) app.use((req, res, next) => { - // @ts-expect-error TODO: add io type - req.io = io + res.locals.io = io next() })