LoginSignup
1
1

More than 5 years have passed since last update.

Cloudinaryの画像をhttpsで取得するように

Posted at

参考
+ https://support.cloudinary.com/hc/en-us/articles/202520362-Can-Cloudinary-s-imaged-be-served-via-SSL-HTTPS-#comment_200993629

config/initializers/cloudinary.rb

if Rails.env.production?
  Cloudinary.config do |config|
    config.secure = true
  end
end
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1