~ assets
This commit is contained in:
parent
5342a1281f
commit
1cb610988f
4 changed files with 39 additions and 33 deletions
|
|
@ -13,7 +13,7 @@ let is_valid_filename, media_to_extension =
|
|||
; (("image", "gif"), "gif")
|
||||
]
|
||||
in
|
||||
(* <> than the actual set of "supported" extension (depends on config files) *)
|
||||
(* <> than the actual set of "supported" extension (which depends on config files) *)
|
||||
let all_known_extensions = mimetype_ext_assoc |> List.split |> snd in
|
||||
let is_valid_filename path = Fpath.mem_ext all_known_extensions path in
|
||||
let media_to_extension = function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue