Skip to content

Commit 43fb81c

Browse files
authored
Merge pull request #678 from code-corps/update-cloudinary-url
Fix cloudinary url
2 parents 726363a + 91082df commit 43fb81c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/code_corps/helpers/cloudinary_url.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
defmodule CodeCorps.Helpers.CloudinaryUrl do
22

3-
@host Application.get_env(:arc, :asset_host)
4-
53
def for(nil, _options, version, default_color, type) do
6-
"#{@host}/icons/#{type}_default_#{version}_#{default_color}.png"
4+
"#{Application.get_env(:arc, :asset_host)}/icons/#{type}_default_#{version}_#{default_color}.png"
75
end
86
def for(public_id, options, _version, _default_color, _type) do
97
Cloudex.Url.for(public_id, options)

0 commit comments

Comments
 (0)