Switch to genproto.sh
This commit is contained in:
parent
ab5fb7bde4
commit
057d8ae35a
4 changed files with 2 additions and 60 deletions
|
@ -19,7 +19,7 @@
|
|||
const path = require('path');
|
||||
const grpc = require('grpc');
|
||||
|
||||
const PROTO_PATH = path.join(__dirname, './proto/currency_service.proto');
|
||||
const PROTO_PATH = path.join(__dirname, './proto/demo.proto');
|
||||
const PORT = 31337;
|
||||
|
||||
const shopProto = grpc.load(PROTO_PATH).hipstershop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue