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