Commit b610a5fd authored by John Long's avatar John Long

Feed: Fix image URL being unaccessible by clients

Ticket: N/A
parent d2b295d2
Pipeline #64344792 passed with stages
in 1 minute and 51 seconds
......@@ -61,4 +61,13 @@ class Feed extends Model
return $is_premium;
}
public function setImageUrlAttribute($image_url)
{
$this->attributes['image_url'] = str_replace(
'https://secureimg.stitcher.com/',
'https://s3.amazonaws.com/stitcher.assets/',
$image_url
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment