feat: parse cookies

This commit is contained in:
karishmas6
2024-09-23 23:47:35 +05:30
parent 4c045683ff
commit 56a58d9c54

View File

@@ -29,7 +29,8 @@ export const io = new Server(server);
*/
export const browserPool = new BrowserPool();
// parse cookies - "cookie" is true in csrfProtection
app.use(cookieParser())
app.use(csrfProtection)
app.use('/record', record);