mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-30 11:59:02 +08:00
fix(env): Always use staging for now
This commit is contained in:
parent
86c41ca272
commit
27aa11aa60
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ OnboardingStore = Reflux.createStore
|
||||||
|
|
||||||
@_pageStack = [@_page]
|
@_pageStack = [@_page]
|
||||||
|
|
||||||
defaultEnv = if atom.inDevMode() then 'staging' else 'production'
|
# For the time being, always use staging
|
||||||
|
defaultEnv = if atom.inDevMode() then 'staging' else 'staging'
|
||||||
atom.config.set('env', defaultEnv) unless atom.config.get('env')
|
atom.config.set('env', defaultEnv) unless atom.config.get('env')
|
||||||
|
|
||||||
@listenTo Actions.setEnvironment, @_onSetEnvironment
|
@listenTo Actions.setEnvironment, @_onSetEnvironment
|
||||||
|
|
Loading…
Reference in a new issue