mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Use HTTPS
This commit is contained in:
parent
5133ab7917
commit
85822636c3
@ -33,7 +33,7 @@ class CloudinaryImage
|
|||||||
|
|
||||||
def url(format = nil)
|
def url(format = nil)
|
||||||
if FORMATS[format].present?
|
if FORMATS[format].present?
|
||||||
Cloudinary::Utils.cloudinary_url(id, FORMATS[format].dup)
|
Cloudinary::Utils.cloudinary_url(id, FORMATS[format].dup.merge(ssl_detected: true))
|
||||||
else
|
else
|
||||||
Cloudinary::Utils.cloudinary_url(id)
|
Cloudinary::Utils.cloudinary_url(id)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user