[05:34:55]
<leandro> Hello
[05:35:19]
<leandro> I have a question about http_upload
[05:35:47]
<leandro> I am using metronome on a yunohost installation
[05:37:02]
<leandro> If I try to send a file that it is not an image, for example e pdf file, I get an error
[05:37:34]
<leandro> I remember something about file type allowed but I cannot find where to define this option
[06:58:51]
<Maranda> http_file_allowed_mime_types: specify allowed mime types for uploads you have to specify both the
extension and the mime using this format: { ["txt"] = "text/plain", ["png"] = "image/png" }
[06:59:20]
<Maranda> https://aria-net.site/Shared%20Documents/Metronome%20IM/General%20Metronome%20Directives.pdf
[07:10:09]
<leandro> Maranda, where I have to set these directives? In my yunohost setup I cannot find
[07:18:44]
<Maranda> Into /etc/metronome/metronome.cfg.lua
[07:21:26]
<Maranda> Set it into the global section
[07:35:35]
<leandro> Maranda, ok, I am looking for some examples to follow in documentation
[07:49:33]
<leandro> Maranda, it works, adding a simple line like "http_file_allowed_mime_types = { ["txt"] = "text/plain", ["png"] = "image/png", ["jpg"] = "image/jpg", ["pdf"] = "application/pdf" }"
[07:49:33]
<leandro> Maranda, thanks!
[07:50:29]
<Maranda> Np