mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 02:03:07 +08:00
fix(nylas-api): allow custom Sync Engine specified in config.cson
This commit is contained in:
parent
b95f1f7cb4
commit
bdf545a519
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,9 @@ class NylasAPI
|
|||
else if env in ['local']
|
||||
@AppID = 'n/a'
|
||||
@APIRoot = 'http://localhost:5555'
|
||||
else if env in ['custom']
|
||||
@AppID = NylasEnv.config.get('env.AppID') or 'n/a'
|
||||
@APIRoot = NylasEnv.config.get('env.APIRoot') or 'http://localhost:5555'
|
||||
|
||||
current = {@AppID, @APIRoot, @APITokens}
|
||||
|
||||
|
|
Loading…
Reference in a new issue