mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
Merge pull request #988 from mbilker/allow-custom-sync-engines
Allow custom Sync Engine specified in `config.cson`
This commit is contained in:
commit
03c76cf255
|
@ -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('syncEngine.AppID') or 'n/a'
|
||||
@APIRoot = NylasEnv.config.get('syncEngine.APIRoot') or 'http://localhost:5555'
|
||||
|
||||
current = {@AppID, @APIRoot, @APITokens}
|
||||
|
||||
|
|
Loading…
Reference in a new issue