我最近升级到了Rails 5.3和Ruby 2.4.4。升级后,我无法从本地将图片上传到cloudinary。以前不是这种情况。
实际上,图片已上传,但是我的上传者说的上传失败,这是我收到的javascript错误。
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 404.
我需要更改任何配置吗? 任何帮助将不胜感激。