CKeditor 中的错误存储桶 URL
Bad bucket URL in CKeditor
我正在使用 CKeditor 和 Paperclip。
上传文件正常,但 CKeditor 中的 URL 不太好。
事实上,Ckeditor 使用“http://s3.amazonaws.com/mybucketname/ckeditor_assets/pictures/12/content_image.jpg”
但好的文件路径是“http://mybucketname.s3.amazonaws.com/ckeditor_assets/pictures/12/content_image.jpg”
我该如何解决这个问题?
我解决了我的问题::s3_host_name => 's3-eu-west-1.amazonaws.com'
我正在使用 CKeditor 和 Paperclip。
上传文件正常,但 CKeditor 中的 URL 不太好。
事实上,Ckeditor 使用“http://s3.amazonaws.com/mybucketname/ckeditor_assets/pictures/12/content_image.jpg”
但好的文件路径是“http://mybucketname.s3.amazonaws.com/ckeditor_assets/pictures/12/content_image.jpg”
我该如何解决这个问题?
我解决了我的问题::s3_host_name => 's3-eu-west-1.amazonaws.com'