There is any kind of limit to send a large response using a NodeJS runtime? I’m getting an error, like response ends after donwload always around 1.2mb only. The implementation is below:
app.post("/test", async (req, res) => {
const {
body: { source },
} = req;
const request = await fetch(source);
const data = await request.text();
res.status(206)
res.setHeader("Content-Type", "text/html; charset=utf-8")
res.send(data)
})