mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
476 B
10 lines
476 B
4 years ago
|
import breezeOptions from 'concordia-app/src/options/breezeOptions';
|
||
|
import { WEB3_HOST_DEFAULT, WEB3_PORT_DEFAULT } from 'concordia-app/src/constants/configuration/defaults';
|
||
|
const { WEB3_HOST, WEB3_PORT } = process.env;
|
||
|
|
||
|
export const web3ProviderUrl = (WEB3_HOST !== undefined && WEB3_PORT !== undefined)
|
||
|
? `ws://${WEB3_HOST}:${WEB3_PORT}`
|
||
|
: `ws://${WEB3_HOST_DEFAULT}:${WEB3_PORT_DEFAULT}`;
|
||
|
|
||
|
export const swarmAddresses = breezeOptions.ipfs.config.Addresses.Swarm;
|