Setting defaults to production.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 243d83dd33
commit b8856d765d
  1. 2
      app/scripts/config.js
  2. 2
      ui/app/store.js

@ -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…
Cancel
Save