Skip to content

Commit ea6a338

Browse files
authored
Merge pull request #54 from phrase/us-dc
chore: Added documentation
2 parents 22f55cd + 275ff76 commit ea6a338

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ If you don't want to use the helper but add the plain Javascript yourself, head
5454

5555
Restart your application to see the In-Context Editor in action!
5656

57+
### Using US datacenter
58+
59+
In the generated `phraseapp_in_context_editor.rb` add these options to enable connecting to the US datacenter.
60+
```
61+
config.api_host = 'https://api.us.app.phrase.com'
62+
config.js_options = {
63+
baseUrl: 'https://us.app.phrase.com',
64+
profileUrl: 'https://us.app.phrase.com/settings/profile'
65+
}
66+
```
67+
5768
### OpenSSL issues
5869

5970
Please note that outdated certificates or old versions of OpenSSL may cause connection issues, especially on Mac OSX. We recommend using Ruby 2.2.2 with OpenSSL 1.0.2d or later. If you experience OpenSSL-related errors, try the following.

0 commit comments

Comments
 (0)