Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jnordberg committed Dec 21, 2017
1 parent 8bc96ae commit 8e81059
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ global.webpackIsomorphicTools = new WebpackIsomorphicTools(
);

global.webpackIsomorphicTools.server(ROOT, () => {
<<<<<<< HEAD
steem.api.setOptions({ url: config.steemd_connection_server });
steem.api.setOptions({
url: config.steemd_connection_client,
useAppbaseApi: config.steemd_use_appbase,
});
steem.config.set('address_prefix', config.get('address_prefix'));
steem.config.set('chain_id', config.get('chain_id'));

Expand All @@ -54,21 +56,19 @@ global.webpackIsomorphicTools.server(ROOT, () => {
console.error(error);
process.exit(1);
}
=======
steem.api.setOptions({
url: config.steemd_connection_client,
useAppbaseApi: config.steemd_use_appbase,
});
steem.config.set('address_prefix', config.get('address_prefix'));
steem.config.set('chain_id', config.get('chain_id'));
steem.api.setOptions({
url: config.steemd_connection_client,
useAppbaseApi: config.steemd_use_appbase,
});
steem.config.set('address_prefix', config.get('address_prefix'));
steem.config.set('chain_id', config.get('chain_id'));

// const CliWalletClient = require('shared/api_client/CliWalletClient').default;
// if (process.env.NODE_ENV === 'production') connect_promises.push(CliWalletClient.instance().connect_promise());
try {
require('./server');
} catch (error) {
console.error(error);
process.exit(1);
}
>>>>>>> Enable useAppbaseApi when initialising steem-js
// const CliWalletClient = require('shared/api_client/CliWalletClient').default;
// if (process.env.NODE_ENV === 'production') connect_promises.push(CliWalletClient.instance().connect_promise());
try {
require('./server');
} catch (error) {
console.error(error);
process.exit(1);
}
});

0 comments on commit 8e81059

Please sign in to comment.