flappy Bird

This commit is contained in:
Kai Ritthaler 2025-06-27 08:59:23 +02:00
parent 90a4a5fd59
commit a976098af0
13 changed files with 397 additions and 67 deletions

View file

@ -5,7 +5,7 @@ import { Request, Response, NextFunction } from "express";
// Configure multer to store files in memory
const multerInstance = multer({
storage: multer.memoryStorage(),
limits: { fileSize: 5 * 1024 * 1024 }, // Limit file size to 5 MB
limits: { fileSize: 30 * 1024 * 1024 }, // Limit file size to 30 MB
});
export const upload = (req: Request, res: Response, next: NextFunction) => {