Fix upload paths

This commit is contained in:
Chris Hunt
2024-02-18 20:26:20 +00:00
parent d184427016
commit fb7f9de127
4 changed files with 6 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ class UserController extends Controller
}
if ($request->hasFile('file')) {
$path = $request->file('file')->store('avatars');
$path = $request->file('file')->store('avatars', 'public');
$user->avatar = $path;
}
@@ -128,7 +128,7 @@ class UserController extends Controller
}
if ($request->hasFile('file')) {
$path = $request->file('file')->store('avatars');
$path = $request->file('file')->store('avatars', 'public');
$user->avatar = $path;
}