Hi, I have a problem with allowing the upload of very simple html via the panel.
When uploading a file I get the error: “The media type “text/html” is not allowed”
There is a file section with the following file blueprint:
title: codefile
accept:
extension: html
And even a plugin for a new filetype:
<?php
Kirby::plugin('html/uploads', [
'fileTypes' => [
'html' => [
'mime' => 'text/html',
'type' => 'code',
]
]
]);
But it’s still not allowed.
Is there any other place where i can define an exception?
thanks,
Felix