Skip to content
Discussion options

You must be logged in to vote

Hey @karandatwani92 , I am glad to share it to help others with a similar case.

Step 1, Run the command to generate the basset config file if it does not exist
php artisan vendor:publish --provider="Backpack\Basset\BassetServiceProvider"
Then change 'disk' => env('BASSET_DISK', 'public') to 'disk' => env('BASSET_DISK', 'basset')

Step 2, Add basset to the disks array in the filesystems.php

        'basset' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => '/storage',      # set url without prefix for the case that central app has a different URL
            'visibility' => 'public',
            'throw' => false,
        ],

Step 3,…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@siberfx
Comment options

@ben-cheng565
Comment options

@karandatwani92
Comment options

@ben-cheng565
Comment options

Answer selected by jcastroa87
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants