updated lbryApi config format

This commit is contained in:
bill bittner 2018-06-05 19:05:26 -07:00
parent c1f5552e99
commit 70393d4eb4

View file

@ -1,6 +1,6 @@
const axios = require('axios'); const axios = require('axios');
const logger = require('winston'); const logger = require('winston');
const { api: { apiHost, apiPort } } = require('@config/lbryConfig.js'); const { apiHost, apiPort } = require('@config/lbryConfig.js');
const lbrynetUri = 'http://' + apiHost + ':' + apiPort; const lbrynetUri = 'http://' + apiHost + ':' + apiPort;
const { chooseGaLbrynetPublishLabel, sendGATimingEvent } = require('../utils/googleAnalytics.js'); const { chooseGaLbrynetPublishLabel, sendGATimingEvent } = require('../utils/googleAnalytics.js');
const handleLbrynetResponse = require('./utils/handleLbrynetResponse.js'); const handleLbrynetResponse = require('./utils/handleLbrynetResponse.js');