From 23dd0a2b323d9ebcfeeaa8198d36d127083b4180 Mon Sep 17 00:00:00 2001 From: CookieDasora Date: Sat, 2 Sep 2023 16:11:41 -0300 Subject: [PATCH] Updated README --- README.md | 4 +++- src/server.ts | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) 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() })