Images still unsecure on rails app after adding secure: true to the cl_image_tag and in the yml file
Still getting this error for my images:
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure image '<URL>'. This content should also be served over HTTPS.
However, I've added the secure: true option as follows:
<%= cl_image_tag project.uploads.first.image_url, :secure => true %>
I also added secure: true to the cloudinary.yml file and restarted my heroku server, but still the images are being loaded as http.
On a side note, when I view a specific project with cloudinary images and refresh it, it gives me the secure padlock and https.
For reference here is my site:
1
-
Fixed it
2
Post is closed for comments.
Comments
1 comment