Skip to content

Commit d170810

Browse files
committed
fix: storage path for windows
1 parent cc712a4 commit d170810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/ImageTransformerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,6 @@ protected function getCachePath(string $path, array $options): string
200200
{
201201
$pathPrefix = config()->string('image-transform-url.public_path');
202202

203-
return storage_path('framework/cache/images/'.$pathPrefix.'/'.json_encode($options).$path);
203+
return realpath(storage_path('framework/cache/images/'.$pathPrefix.'/'.json_encode($options).$path));
204204
}
205205
}

0 commit comments

Comments
 (0)