Merge pull request #1291 from KodeStar/2.x

Fix upload paths
This commit is contained in:
KodeStar
2024-02-18 20:27:26 +00:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -211,7 +211,7 @@ class ItemController extends Controller
]);
if ($request->hasFile('file')) {
$path = $request->file('file')->store('icons');
$path = $request->file('file')->store('icons', 'public');
$request->merge([
'icon' => $path,
]);