Closed ncla closed 1 year ago
While testing #190, I discovered separate bug where if you set image manipulations to be stored in a custom filesystem that has URL prefix set, it will it strip out.
in config/filesystems.php
'test' => [ 'driver' => 'local', 'root' => storage_path('app'), 'url' => env('APP_URL') . '/storage', 'visibility' => 'public', ],
in config/statamic/assets.php
'image_manipulation' => [ 'cache' => 'test', ]
In GenerateGlideImageJob it forces any URL into a relative one with URL::makeRelative.
GenerateGlideImageJob
URL::makeRelative
http://statamic-sandbox.test/storage/containers/assets/poster.jpg/93efe686bb0f4ef81528af00145253c0.webp
becomes
/storage/containers/assets/poster.jpg/93efe686bb0f4ef81528af00145253c0.webp
-
No response
Fresh statamic/statamic site via CLI
runtime (new)
Bug description
While testing #190, I discovered separate bug where if you set image manipulations to be stored in a custom filesystem that has URL prefix set, it will it strip out.
in config/filesystems.php
in config/statamic/assets.php
In
GenerateGlideImageJob
it forces any URL into a relative one withURL::makeRelative
.becomes
How to reproduce
-
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response