mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
actually fix it
This commit is contained in:
parent
6808ce1d12
commit
e231451abd
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue