Skip to content

Commit

Permalink
Merge pull request #34 from phrase/update-docs
Browse files Browse the repository at this point in the history
chore: Updated docs with US datacenter instructions
  • Loading branch information
Varpuspaavi authored Aug 17, 2022
2 parents 7d6a924 + 7958e5c commit 196d521
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@ export function HttpLoaderFactory(http: HttpClient) {

If this does not work for you, you can also integrate the [JavaScript snippet manually](https://help.phrase.com/en/articles/2183908-integrate-in-context-editor-into-any-web-framework).


### Using the US Datacenter with ICE

In addition to `phraseEnabled` and `projectId` in the config, also add the US specific URLs to enable working through the US endpoint.
```
baseUrl: "https://us.app.phrase.com",
apiBaseUrl: 'https://api.us.app.phrase.com/api/v2',
oauthEndpointUrl: "https://api.us.app.phrase.com/api/v2/authorizations",
profileUrl: "https://us.app.phrase.com/settings/profile",
```


## Development

### Build from source
Expand Down

0 comments on commit 196d521

Please sign in to comment.