mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
needs explicit port
This commit is contained in:
parent
796d07f393
commit
d72236b6c3
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ defmodule Camo.Image do
|
|||
input
|
||||
|
||||
uri.host in [cdn_host(), camo_host()] ->
|
||||
URI.to_string(update_in(uri.scheme, fn _ -> "https" end))
|
||||
URI.to_string(%{uri | scheme: "https", port: 443})
|
||||
|
||||
true ->
|
||||
camo_digest = :crypto.hmac(:sha, camo_key(), input) |> Base.encode16(case: :lower)
|
||||
|
|
Loading…
Reference in a new issue