π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: fix parseR
Nevo Davidfb43544bb293
diff --git a/apps/backend/src/main.ts b/apps/backend/src/main.tsindex 2e6fb480c..16f24427f 100644--- a/apps/backend/src/main.ts+++ b/apps/backend/src/main.ts@@ -22,7 +22,6 @@ import { startMcp } from '@gitroom/nestjs-libraries/chat/start.mcp';async function start() {const app = await NestFactory.create(AppModule, {rawBody: true,- bodyParser: false,cors: {...(!process.env.NOT_SECURED ? { credentials: true } : {}),allowedHeaders: [@@ -53,12 +52,8 @@ async function start() {}));- app.use((req: any, res: any, next: any) => {- if (req.path.startsWith('/mcp') || req.path.startsWith('/sse/') || req.path.startsWith('/message/')) {- return next();- }- const limit = ['/copilot/', '/posts'].some((p) => req.path.startsWith(p)) ? '50mb' : '100kb';- json({ limit })(req, res, next);+ app.use(['/copilot/*', '/posts'], (req: any, res: any, next: any) => {+ json({ limit: '50mb' })(req, res, next);});app.use(cookieParser());