]> BookStack Code Mirror - bookstack/commit
Added streaming support to API attachment read responses
authorDan Brown <redacted>
Sat, 2 Apr 2022 18:20:59 +0000 (19:20 +0100)
committerDan Brown <redacted>
Sat, 2 Apr 2022 18:21:19 +0000 (19:21 +0100)
commit08a8c0070e3f1574ceecd0ea120c26bbf52eb0f4
tree3b8fd1181bc461ad831af47245177102e832e6f2
parentcb770c534d4d1ac776fb78126fee7b46f57a2f19
Added streaming support to API attachment read responses

Required some special handling due to the content being base64-encoded
within a JSON response.
app/Http/Controllers/Api/AttachmentApiController.php