fix: update axios, move env() to config, cache config/routes/events/filament
This commit is contained in:
1 parent
1fe8d10c90
commit
a07d216635
5 files changed
+218
-549
No files matched your search
@@ -62,7 +62,7 @@ class BadgeUploadResource extends Resource
|
||||
|
||||
public static function getFiles(): array
|
||||
{
|
||||
$badgePath = env('BadgePath', 'badges');
|
||||
$badgePath = config('habbo.badges.path', 'badges');
|
||||
$files = Storage::disk('local')->files($badgePath);
|
||||
|
||||
return collect($files)->map(fn ($file) => [
|
||||
|
||||
Reference in new issue
Block a user