Use HTTPS for cloudinary urls
This commit is contained in:
@@ -837,7 +837,8 @@ def cloudinary_transform(rating_key=None, width=1000, height=1500, opacity=100,
|
|||||||
img_options = {'format': img_format,
|
img_options = {'format': img_format,
|
||||||
'fetch_format': 'auto',
|
'fetch_format': 'auto',
|
||||||
'quality': 'auto',
|
'quality': 'auto',
|
||||||
'version': int(time.time())}
|
'version': int(time.time()),
|
||||||
|
'secure': True}
|
||||||
|
|
||||||
if width != 1000:
|
if width != 1000:
|
||||||
img_options['width'] = str(width)
|
img_options['width'] = str(width)
|
||||||
|
Reference in New Issue
Block a user