Skip to content

Use a temporary url for private uploads#810

Merged
danharrin merged 2 commits intofilamentphp:2.xfrom
martin-ro:patch-2
Dec 11, 2021
Merged

Use a temporary url for private uploads#810
danharrin merged 2 commits intofilamentphp:2.xfrom
martin-ro:patch-2

Conversation

@martin-ro
Copy link
Copy Markdown
Contributor

If we upload a private file to S3 we should use a signed temporary URL for the preview to work.

See: https://github.com/laravel-filament/filament/blob/fca0ea26c1166ce405c5e8eda12dea85a3900282/packages/forms/src/Components/FileUpload.php#L471

@danharrin danharrin added the bug Something isn't working label Dec 11, 2021
@danharrin danharrin merged commit 11e090a into filamentphp:2.x Dec 11, 2021
@danharrin
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants