Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ let url = result.files[0].Url

### Alternative domain

Set the last argument for the `ConvertApi.auth` method to use an alternative domain. Dedicated to the region [domain list](https://www.convertapi.com/docs/servers-location).
To use a regional server, pass its host name as the second argument of `ConvertApi.auth`, without `https://` or a trailing slash. The default is `v2.convertapi.com`; the regional hosts are listed on the [server locations](https://www.convertapi.com/docs/servers-location) page.

```js
let convertApi = ConvertApi.auth('api-token', 'https://eu-v2.convertapi.com/')
let convertApi = ConvertApi.auth('api-token', 'eu-v2.convertapi.com')
```


Expand Down
Loading