Skip to content
Snippets Groups Projects
Commit f02c5358 authored by Daniel Harrison's avatar Daniel Harrison
Browse files

fix node example

parent 9698e763
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ var hello_proto = grpc.load(PROTO_PATH).helloworld; ...@@ -38,7 +38,7 @@ var hello_proto = grpc.load(PROTO_PATH).helloworld;
function main() { function main() {
var client = new hello_proto.Greeter('localhost:50051', var client = new hello_proto.Greeter('localhost:50051',
grpc.Credentials.createInsecure()); grpc.credentials.createInsecure());
var user; var user;
if (process.argv.length >= 3) { if (process.argv.length >= 3) {
user = process.argv[2]; user = process.argv[2];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment