bigger payload
This commit is contained in:
parent
506569b038
commit
e98fdf50cb
@ -13,7 +13,10 @@ const app = express();
|
||||
const port = process.env.PORT || 3000;
|
||||
|
||||
app.use(cors());
|
||||
app.use(express.json());
|
||||
// Increase JSON payload limit to 50MB
|
||||
app.use(express.json({ limit: '50mb' }));
|
||||
// Also increase URL-encoded payload limit if needed
|
||||
app.use(express.urlencoded({ limit: '50mb', extended: true }));
|
||||
|
||||
// Health check endpoint
|
||||
app.get('/api/health', (req, res) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user