Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

magunet's avatar

Vapor error by large response (File response)

Hi, I've a problem by gettin a file from storage.

I use Laravel as API system, and separat I've a PWA in vuejs. I'm trying to get a file from storage with Storage::get and it works in my local space, but in production i'm getting a clodefront error. I think the problem is the "memory" variable in vapor that is "1024" (Kb or Mb?) and the biggest file I have is 1.2 Mb.

Have you any idea how can I solve this? Or I've to find an other solution?

Thanks in advance.

0 likes
0 replies

Please or to participate in this conversation.