mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-23 15:17:47 +09:00
Fix upload paths
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user