
I’m facing an issue with storage.createFile.
I’m trying to upload a .css file and I’ve explicitly set the MIME type to "text/css" when creating the file. But after uploading, the file in Appwrite storage still shows up with MIME type "text/plain".
Here’s what I’ve checked:
The file has the correct .css extension.
I passed "text/css" as the MIME type.
The file uploads successfully, but the type is still wrong.
Any ideas why this is happening or how to ensure the correct MIME type is stored?
Recommended threads
- Auto confirm team membership / emails no...
Hello, I'm using the Appwrite via the Cloud platform. I've started to use the Teams API, however emails are not arriving - this wouldn't be a problem if I was a...
- Support for postgreSQL and mongoDb
By when can we expect Appwrite to have support for PostgreSQL and MongoDB, and I hope that along with that, storing and querying of nested objects will also be ...
- appwrite platform error
I am unable to add web platform in appwrite.It always shows in progress because of which I am getting 401 error although my whole project is running fine
