Skip to content

Commit f61cdb1

Browse files
committed
Updated readme
1 parent 47458f4 commit f61cdb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ $removebg->url($absoluteUrl)
107107
If you are using Laravel, this package provides a convenient helper function which is globally accessible.
108108

109109
```php
110-
removebg()->url($absoluteUrl)->save('path/to/your/file.png');
110+
removebg()->url($absoluteUrl)->save(public_path('path/to/your/file.png'));
111111
```
112112

113113
### Using the facade (Laravel)
@@ -121,7 +121,7 @@ If you are using Laravel, this package provides a facade. To register the facade
121121
```php
122122
use RemoveBg;
123123

124-
RemoveBg::file($pathToFile)->save('path/to/your/file.png');
124+
RemoveBg::file($pathToFile)->save(public_path('path/to/your/file.png'));
125125
```
126126

127127
## Credits

0 commit comments

Comments
 (0)