- Strapi Version: v3
- Operating System: mac dev system
- Database: defualt
- Node Version: ^6.0.0
- NPM Version: 14.18.3
- Yarn Version: yarn 1.22.17
I have an endpoint which returns a pdf, either directly from an s3 bucket or after encoding. If I pass the s3 bucket response directly to the ctx.request.body then the pdf opens in the browser without issue. If however, I save the file to the local hard drive to be processed I cant then get the pdf to be served to the browser. When attempted (with either the original file or the processed version) I get a 404 response back.
Im not that familiar with Strapi and with this issue I am definitely struggling…