请问 Ruby China 源码怎么配置可以上传不依赖 upaiyun
是要修改这里么?
CarrierWave.configure do |config|
config.storage = :upyun
# Do not remove previously file after new file uploaded
config.remove_previously_stored_files_after_update = false
config.upyun_username = Setting.upyun_username
config.upyun_password = Setting.upyun_password
config.upyun_bucket = Setting.upyun_bucket
config.upyun_bucket_host = Setting.upload_url
end