Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploaded img issues #39

Open
taba2177 opened this issue Aug 19, 2024 · 1 comment
Open

uploaded img issues #39

taba2177 opened this issue Aug 19, 2024 · 1 comment

Comments

@taba2177
Copy link

storage make new dir for uploaded images with permission 700
so i get 403 on any new image that uploaded
try to add
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'directory_visibility' => 'public',
'permissions' => [
'file' => [
'public' => 0644,
'private' => 0600,
],
'dir' => [
'public' => 0755, // 0775 if needed
'private' => 0700,
],
],
],

    but there is no effect ??!!
@peter-tharwat
Copy link
Owner

can you please check that you passed middlewares before uploading ?
or can you put dd("TEST") before uploading code to check ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants