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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...