Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Commit 0536b30

Browse files
author
Julien Neuhart
committed
using samel URL as go client
1 parent 7dd0c09 commit 0536b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ class YourAwesomeClass {
3434

3535
public function yourAwesomeMethod()
3636
{
37-
$client = new Client('gotenberg:3000', new \Http\Adapter\Guzzle6\Client());
37+
$client = new Client('http://localhost:3000', new \Http\Adapter\Guzzle6\Client());
3838
# or the following if you want the client to discover automatically an installed implementation of the PSR7 `HttpClient`.
39-
$client = new Client('gotenberg:3000');
39+
$client = new Client('http://localhost:3000');
4040

4141
# HTML conversion example.
4242
$index = DocumentFactory::makeFromPath('index.html', '/path/to/file');

0 commit comments

Comments
 (0)