themsaid/wink

Running Wink on Lambda causes S3 uploads to have .bin extension

robbfountain opened this issue · 0 comments

I'm currently running a wink instance on Lambda and attempting to upload files to S3. The upload works as intended but the resulting uploaded file has a .bin extension rather than the correct .png, .jpeg etc. extension causing the image to break when displaying.

Now If I run the same instance on a server instead of Lambda the image is uploaded as intended to S3 with the correct extension. I'm assuming this has something to do with the serverless aspect but I can't pinpoint it.

Anyone experience this?