@@ -14,7 +14,7 @@ |
||
14 | 14 | 'source' => env('GLIDE_SOURCE', storage_path('app/public/' . config('twill.media_library.local_path'))), |
15 | 15 | 'cache' => env('GLIDE_CACHE', storage_path('app')), |
16 | 16 | 'cache_path_prefix' => env('GLIDE_CACHE_PATH_PREFIX', 'glide_cache'), |
17 | - 'base_url' => env('GLIDE_BASE_URL', request()->getScheme() . '://' . str_replace(['http://', 'https://'], '',config('app.url'))), |
|
17 | + 'base_url' => env('GLIDE_BASE_URL', request()->getScheme() . '://' . str_replace(['http://', 'https://'], '', config('app.url'))), |
|
18 | 18 | 'base_path' => env('GLIDE_BASE_PATH', 'img'), |
19 | 19 | 'use_signed_urls' => env('GLIDE_USE_SIGNED_URLS', false), |
20 | 20 | 'sign_key' => env('GLIDE_SIGN_KEY'), |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | $localRootPrefix = storage_path('app/public/'); |
4 | -$localUrlPrefix = request()->getScheme() . '://' . str_replace(['http://', 'https://'], '',env('APP_URL')) . '/storage/'; |
|
4 | +$localUrlPrefix = request()->getScheme() . '://' . str_replace(['http://', 'https://'], '', env('APP_URL')) . '/storage/'; |
|
5 | 5 | |
6 | 6 | $mediaLocalConfig = [ |
7 | 7 | 'driver' => 'local', |