It works perfectly in production (works fine on the local machine) I also manually added the Cloudinary Url in Heroku's config vars I provide Cloudinary credentials in the cloudinary.yml file Deployed successfully to Heroku, the functionality related to Cloudinary (upload images) doesn't work but it works locally. I am using Rails and when I try:
heroku logs --tail
No errors appear
My stupid mistake haha Inside config/environments/production.rb
config.active_storage.service = :local
should be
config.active_storage.service = :cloudinary
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.