mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Try to fix 403 on web hosting when deleting icon
This commit is contained in:
parent
ad15381fc9
commit
eb28b59d76
@ -23,7 +23,7 @@ public function upload(Request $request)
|
||||
'icon' => 'required|image',
|
||||
]);
|
||||
|
||||
$path = $request->file('icon')->storePublicly('public/icons');
|
||||
$path = $request->file('icon')->store('public/icons');
|
||||
|
||||
return response()->json(pathinfo($path)['basename'], 201);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user