We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f00c455 commit ba50f4dCopy full SHA for ba50f4d
app/Cdn/Adapter/Filesystem.php
@@ -78,6 +78,8 @@ public function url(string $filename, array $extra = []): string
78
{
79
if ($this->files->exists($filename) === false) {
80
throw new \Exception("Unable to find a file at path [{$filename}].");
81
+ } elseif (app('files')->extension($filename) === 'gif' && empty($extra)) {
82
+ return $this->makeUrl($filename);
83
}
84
85
return $this->validateImageAnd($filename, function (string $filename) use ($extra) {
0 commit comments