I have mimetypemapping.json file in config folder as follow:
{
"r": ["text/code", "text/plain"],
"sql": ["text/code", "text/plain"],
"log": ["text/code", "text/plain"]
}
.r and .sql files are opened in text editor on my cloud web page, but .log files are downloaded when I click on them.
I executed the occ command after making changes on the file:
sudo -u www-data php occ maintenance:mimetype:update-js
>> mimetypelist.js is updated
And I see that mimetypelist.js file is updated.
What am I doing wrong?
Note that: I removed .sql line for testing, executed the occ command, then added it back and now .sql files are also downloaded