diff options
author | 2015-08-04 08:23:32 -0700 | |
---|---|---|
committer | 2015-08-04 08:23:32 -0700 | |
commit | a9c643fc602bda93d373694661e7e1f8f1ec72ac (patch) | |
tree | 9cba5821eed929ff33b7585adec65dd59524a64e /src/node/examples/route_guide_server.js | |
parent | 9c7c0e8cbd5d43a99fb57530eab1e9bf2a37ef81 (diff) | |
parent | 98dd83ec4e8fa87875df82ca406a43e12ed06b6c (diff) |
Merge github.com:grpc/grpc into plucking-hell
Diffstat (limited to 'src/node/examples/route_guide_server.js')
-rw-r--r-- | src/node/examples/route_guide_server.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/examples/route_guide_server.js b/src/node/examples/route_guide_server.js index 70044a322c..bb8e79b5bd 100644 --- a/src/node/examples/route_guide_server.js +++ b/src/node/examples/route_guide_server.js @@ -239,7 +239,7 @@ function getServer() { if (require.main === module) { // If this is run as a script, start a server on an unused port var routeServer = getServer(); - routeServer.bind('0.0.0.0:50051'); + routeServer.bind('0.0.0.0:50051', grpc.ServerCredentials.createInsecure()); var argv = parseArgs(process.argv, { string: 'db_path' }); |