Skip to content

Commit

Permalink
Also accept jpg as an avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
xvw committed Jan 17, 2025
1 parent a6056f6 commit eb192d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/action/images.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let run (module R : Sigs.RESOLVER) cache =
(* We pass [cache] in order to add more rules. *)
let open Yocaml.Eff in
cache
|> Batch_copy.run ~extension:[ "svg"; "png" ] ~source:R.Source.static_images
~target:R.Target.images
>>= Batch_copy.run ~extension:[ "svg"; "png" ] ~source:R.Source.avatars
|> Batch_copy.run ~extension:[ "svg"; "png"; "jpg" ]
~source:R.Source.static_images ~target:R.Target.images
>>= Batch_copy.run ~extension:[ "svg"; "png"; "jpg" ] ~source:R.Source.avatars
~target:R.Target.avatars

0 comments on commit eb192d2

Please sign in to comment.