Closed
Description
I have set up the S3 FileAdapter using this guide.
I can successfully create files using new Parse.File("file.html", bytes, "text/html");
The files will appear in my S3 bucket, but with the Content-Type "text/plain" rather than "text/html" as expected.
parse-server 2.2.10
Edit: Also probably related to the same issue:
If I save a file without any extension, e.g. new Parse.File("photo", bytes);
, .txt
will be appended to the file's name. The file's key in S3 will look like 5658b255f1cb4413e6c84717adf79ebc_photo.txt
. This behaviour was not present with hosted Parse.
Metadata
Metadata
Assignees
Labels
No labels