Open gaetandezeiraud opened 2 years ago
I use a Cropper in my resource. It is working fine. Except the file path, when editing, who is not good. It use http://localhost/storage/2021/10/18/c0d39298abcd2f0b65e3d583f475fef53bfc78ea.png and not the good APP_URL defined in the .env file.
Cropper
http://localhost/storage/2021/10/18/c0d39298abcd2f0b65e3d583f475fef53bfc78ea.png
I haven't changed anything in the filesystems.php
'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', ],
And platform.php
'attachment' => [ 'disk' => 'public', 'generator' => \Orchid\Attachment\Engines\Generator::class, ],
Also php artisan cache:clear do not do anything.
php artisan cache:clear
I use a
Cropper
in my resource. It is working fine. Except the file path, when editing, who is not good. It usehttp://localhost/storage/2021/10/18/c0d39298abcd2f0b65e3d583f475fef53bfc78ea.png
and not the good APP_URL defined in the .env file.I haven't changed anything in the filesystems.php
And platform.php
Also
php artisan cache:clear
do not do anything.