We are currently trying to add some Mimetype Aliases to our nextCloud instance.
We’ve created the config/mimetypealiases.json file with the following content:
Result from both command shows that it “seems” to have worked: mimetypelist.js is updated
Scanning files for 3 users
Starting scan for user 1 out of 3 (xxxx)
Starting scan for user 2 out of 3 (xxxx)
Starting scan for user 3 out of 3 (xxxx)
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 370 | 2547 | 00:00:01 |
+---------+-------+--------------+
However, existing .ps1 files are getting downloaded instead of being edited into the TextEditor.
Creating a new .ps1 file using the text editor works, but when saving the file and re-clicking on it, it prompts for download instead of online editing.
My idea was, that the editor needs to “support” the file formats as well. But looking into the app’s folder, only showed, that’s it’s already supported: