mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-28 19:31:14 +08:00
fix(contributing): Mention syncEngine.APIRoot
This commit is contained in:
parent
42f8d29a89
commit
91efdd5a8b
1 changed files with 8 additions and 3 deletions
|
@ -104,7 +104,12 @@ however, the Sync Engine is open source and you can run it yourself.
|
|||
|
||||
Replace `env: "production"` with `env: "local"` at the top level of the config.
|
||||
This tells N1 to look at `localhost:5555` for the sync engine. If you've deployed
|
||||
the sync engine elsewhere, you'll need to edit `nylas-api.coffee`.
|
||||
the sync engine elsewhere, add the following block beneath `env: "local"`:
|
||||
|
||||
```
|
||||
syncEngine:
|
||||
APIRoot: http://mysite.com:5555
|
||||
```
|
||||
|
||||
Copy the JSON array of accounts returned from the Sync Engine's `/accounts`
|
||||
endpoint (ex. `http://localhost:5555/accounts`) into the config file at the
|
||||
|
|
Loading…
Reference in a new issue