Flask stream response is not working on Ubuntu server
All works fine with Next.js frontend and Flask backend.
When I host the Flask backend on Windows machine, it is working fine but after hosting the backend on the Ubuntu server of Digital Ocean, the stream is not working and get the response at once.