Stream download with Laravel vapor #149
Unanswered
chrisrhymes
asked this question in
Q&A
Replies: 2 comments
-
Have you found a solution for the issue @chrisrhymes? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Laravel vapor to host my Laravel app and when I use the
SimpleExcelWriter::streamDownload('my-file.xlsx')
vapor returns{"message": "Internal server error"}
. If I change the extension to .csv instead of Excel then it seems to work as expected.The vapor docs mention that you need to add an additional header to the response for binary responses, is there a way of doing this with the
streamDownload()->toBrowser()
method?Beta Was this translation helpful? Give feedback.
All reactions