Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Change storage to public disk for media uploads
Sebastian Albert78bee705ff70
diff --git a/app/Models/Traits/HasMedia.php b/app/Models/Traits/HasMedia.phpindex c1b9cb5e7..7fbb85900 100644--- a/app/Models/Traits/HasMedia.php+++ b/app/Models/Traits/HasMedia.php@@ -88,7 +88,7 @@ trait HasMedia$filename = Str::uuid().'.'.$normalizedExt;$path = 'medias/'.$filename;- Storage::put($path, $normalizedBytes);+ Storage::disk('public')->put($path, $normalizedBytes);return $this->media()->create(['group_id' => $groupId ?? Str::uuid()->toString(),@@ -126,7 +126,7 @@ trait HasMedia$filename = Str::uuid().'.'.$normalizedExt;$storagePath = 'medias/'.$filename;- Storage::put($storagePath, $normalizedBytes);+ Storage::disk('public')->put($storagePath, $normalizedBytes);return $this->media()->create(['group_id' => $groupId ?? Str::uuid()->toString(),