mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-26 20:57:13 +01:00
Test cdn
This commit is contained in:
parent
8c72ad9993
commit
245fad6625
3 changed files with 6 additions and 7 deletions
|
|
@ -57,7 +57,6 @@ class Reserve extends BasePage implements HasTable
|
|||
->badge(),
|
||||
ImageColumn::make('image')
|
||||
->label('Bild')
|
||||
->disk('local')
|
||||
->size('100%')
|
||||
->extraImgAttributes([
|
||||
'class' => 'rounded-md',
|
||||
|
|
|
|||
|
|
@ -74,12 +74,12 @@ class ItemResource extends Resource
|
|||
->live(),
|
||||
FileUpload::make('image')
|
||||
->label('Image')
|
||||
->directory('images')
|
||||
->translateLabel()
|
||||
->minSize(25)
|
||||
->maxSize(5500)
|
||||
->columnSpan('full')
|
||||
->disk('local')
|
||||
->visibility('private')
|
||||
//->visibility('private')
|
||||
->image(),
|
||||
TextInput::make('desc')
|
||||
->label('Description')
|
||||
|
|
@ -147,8 +147,7 @@ class ItemResource extends Resource
|
|||
ImageColumn::make('image')
|
||||
->label('Image')
|
||||
->translateLabel()
|
||||
->disk('local')
|
||||
->visibility('private')
|
||||
//->visibility('private')
|
||||
->extraImgAttributes([
|
||||
'class' => 'rounded-md',
|
||||
'loading' => 'lazy'
|
||||
|
|
|
|||
|
|
@ -39,8 +39,9 @@ return [
|
|||
|
||||
'public' => [
|
||||
'driver' => 'local',
|
||||
'root' => storage_path('app/public'),
|
||||
'url' => env('APP_URL').'/storage',
|
||||
'root' => storage_path('app/public/'),
|
||||
//'url' => env('APP_URL').'/storage',
|
||||
'url' => 'media.boka.vbytes.se/storage',
|
||||
'visibility' => 'public',
|
||||
'throw' => false,
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue