This commit is contained in:
yuriko 🦊 2025-05-24 23:16:40 -04:00
parent 2e75c1c407
commit 67bf5494fd
8 changed files with 18 additions and 23 deletions

View file

@ -55,7 +55,7 @@ class Upload extends Component
$preview = Image::read($fullImg)->scaleDown(width: 1280, height: 720);
Storage::put("posts/$post->id/preview", $preview->encodeByExtension($post->extension, quality: 70));
return $this->redirect('/');
return $this->redirect("/posts/$post->id");
}
}