mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 19:28:08 +02:00
Try to fix 403 on web hosting when deleting icon
This commit is contained in:
parent
ad15381fc9
commit
eb28b59d76
@ -23,7 +23,7 @@ class IconController extends Controller
|
||||
'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…
x
Reference in New Issue
Block a user