Skip to content

Commit 93f7ff8

Browse files
committed
Add documentation for setApiHostname
1 parent d3d8ded commit 93f7ff8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,12 @@ client.setJWT(token);
306306
client.setThrottleTime(500);
307307
```
308308

309+
#### Set API hostname
310+
```js
311+
// Set API hostname (e.g. for dedicated environments)
312+
client.setApiHostname('api.addsearch.com');
313+
```
314+
309315
## Indexing API
310316
With the Indexing API, you can fetch, create, update, and delete single documents or
311317
batches of documents.

0 commit comments

Comments
 (0)