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
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- Storage Bucket Permissions
Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?
- how can i make a relationship between a ...
i want to relate the $id from users auth table in appwrite with other column in my table user_profile. because is the same user... how can i have exactly the s...