From e231451abdee8a9cb1b4e0d24fbf7cab8ebe0aca Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 10 Nov 2019 19:24:58 -0500 Subject: [PATCH] actually fix it --- lib/camo/image.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/camo/image.ex b/lib/camo/image.ex index 6157515a..b0d495fe 100644 --- a/lib/camo/image.ex +++ b/lib/camo/image.ex @@ -5,7 +5,7 @@ defmodule Camo.Image do if !host or String.ends_with?(host, cdn_host()) do input else - camo_digest = :crypto.hmac(:sha, camo_key(), input) |> Base.encode16() + camo_digest = :crypto.hmac(:sha, camo_key(), input) |> Base.encode16(case: :lower) camo_uri = %URI{ host: camo_host(), path: "/" <> camo_digest,