mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Setting defaults to production.
This commit is contained in:
parent
243d83dd33
commit
b8856d765d
@ -2,7 +2,7 @@ const MAINET_RPC_URL = 'https://mainnet.infura.io/'
|
||||
const TESTNET_RPC_URL = 'https://morden.infura.io/'
|
||||
const DEFAULT_RPC_URL = TESTNET_RPC_URL
|
||||
const CLASSIC_RPC_URL = 'https://mainnet-nf.infura.io/'
|
||||
const DEVELOPMENT_MODE = true
|
||||
const DEVELOPMENT_MODE = false
|
||||
|
||||
module.exports = {
|
||||
network: {
|
||||
|
@ -10,12 +10,10 @@ module.exports = configureStore
|
||||
const middlewares = [thunkMiddleware]
|
||||
|
||||
if (developmentMode) {
|
||||
console.log('Development Mode ON.')
|
||||
const loggerMiddleware = createLogger()
|
||||
middlewares.push(loggerMiddleware)
|
||||
}
|
||||
|
||||
|
||||
const createStoreWithMiddleware = applyMiddleware(...middlewares)(createStore)
|
||||
|
||||
function configureStore (initialState) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user