1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

move config file

This commit is contained in:
Matthias Kretschmann 2019-04-15 21:08:49 +02:00
parent 0d2ba4df3a
commit ce8945a639
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import Web3 from 'web3'
import { Logger } from '@oceanprotocol/squid'
import { User } from '.'
import { provideOcean, requestFromFaucet, FaucetResponse } from '../ocean'
import { nodeHost, nodePort, nodeScheme } from '../config/config'
import { nodeHost, nodePort, nodeScheme } from '../config'
const POLL_ACCOUNTS = 1000 // every 1s
const POLL_NETWORK = POLL_ACCOUNTS * 60 // every 1 min

View File

@ -1,7 +1,7 @@
import React, { useEffect } from 'react'
import ReactGA, { FieldsObject } from 'react-ga'
import { RouteComponentProps } from 'react-router-dom'
import { analyticsId } from '../config/config'
import { analyticsId } from '../config'
const withTracker = <P extends RouteComponentProps>(
WrappedComponent: any,

View File

@ -22,7 +22,7 @@ import {
secretStorePort,
secretStoreScheme,
verbose
} from './config/config'
} from './config'
export async function provideOcean(web3provider: Web3) {
const nodeUri = `${nodeScheme}://${nodeHost}:${nodePort}`

View File

@ -6,7 +6,7 @@ import ItemForm from './ItemForm'
import Item from './Item'
import styles from './index.module.scss'
import { serviceHost, servicePort, serviceScheme } from '../../../config/config'
import { serviceHost, servicePort, serviceScheme } from '../../../config'
interface File {
url: string