diff --git a/app/controllers/api/v1/accounts/articles_controller.rb b/app/controllers/api/v1/accounts/articles_controller.rb index cc0976375..65210260c 100644 --- a/app/controllers/api/v1/accounts/articles_controller.rb +++ b/app/controllers/api/v1/accounts/articles_controller.rb @@ -45,7 +45,7 @@ class Api::V1::Accounts::ArticlesController < Api::V1::Accounts::BaseController content_type: params[:background_image].content_type ) file_blob.save! - render json: { file_url: url_for(file_blob) } + render json: { file_url: rails_blob_url(file_blob) } end def reorder