Switch to genproto.sh

This commit is contained in:
Ace Nassri 2018-06-22 14:14:43 -07:00
parent ab5fb7bde4
commit 057d8ae35a
4 changed files with 2 additions and 60 deletions

View file

@ -19,7 +19,7 @@ const grpc = require('grpc');
const request = require('request');
const xml2js = require('xml2js');
const PROTO_PATH = path.join(__dirname, './proto/currency_service.proto');
const PROTO_PATH = path.join(__dirname, './proto/demo.proto');
const PORT = 31337;
const DATA_URL = 'http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml';
const shopProto = grpc.load(PROTO_PATH).hipstershop;