Skip to content

Commit

Permalink
fix(readme): add missing filename Stream (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdequippe authored Nov 1, 2024
1 parent e8bc519 commit 76bc9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Gotenberg::libreOffice($apiUrl)
// Alternatively, you may also set the content directly.
Gotenberg::chromium($apiUrl)
->pdf()
->html(Stream::string('<html><body><p>Hello, world!</p></body></html>'));
->html(Stream::string('index.html', '<html><body><p>Hello, world!</p></body></html>'));

// Or create your stream from scratch.
Gotenberg::libreOffice($apiUrl)
Expand Down

0 comments on commit 76bc9d4

Please sign in to comment.