mirror of
				https://github.com/linuxserver/Heimdall.git
				synced 2025-10-31 13:07:50 +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