mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-31 04:19:15 +08:00
Update CONFIGURATION.md
This commit is contained in:
parent
cb2913871e
commit
ad706c0609
1 changed files with 10 additions and 7 deletions
|
@ -29,19 +29,22 @@ however, the Sync Engine is open source and you can run it yourself.
|
|||
This tells N1 to look at `localhost:5555` for the sync engine. If you've deployed
|
||||
the sync engine elsewhere, add the following block beneath `env: "local"`:
|
||||
|
||||
```
|
||||
syncEngine:
|
||||
APIRoot: "http://mysite.com:5555"
|
||||
```javascript
|
||||
"syncEngine": {
|
||||
"APIRoot": "http://mysite.com:5555"
|
||||
},
|
||||
```
|
||||
|
||||
NOTE: If you are using a custom network layout and your sync engine is not on
|
||||
`localhost:5555`, use `env: custom` instead along with your alternate IP for the
|
||||
API Root, for example `192.168.1.00:5555`
|
||||
|
||||
```
|
||||
env: "custom"
|
||||
syncEngine:
|
||||
APIRoot: "http://192.168.1.100:5555"
|
||||
```javascript
|
||||
{
|
||||
"env": "custom",
|
||||
"syncEngine": {
|
||||
"APIRoot": "http://192.168.1.100:5555"
|
||||
},
|
||||
```
|
||||
|
||||
Copy the JSON array of accounts returned from the Sync Engine's `/accounts`
|
||||
|
|
Loading…
Reference in a new issue