modified: backend/src/server.ts

This commit is contained in:
2026-03-11 11:11:09 +03:00
parent 49f262d8ae
commit b6b7064a41

View File

@@ -34,8 +34,8 @@ app.set('trust proxy', true);
// crossOriginEmbedderPolicy: false,
// }));
app.use(cors());
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.use(express.json({ limit: '50mb' }));
app.use(express.urlencoded({ extended: true, limit: '50mb' }));
// Rate limiting - DISABLED
// const limiter = rateLimit({