aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/examples/route_guide_server.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/examples/route_guide_server.js')
-rw-r--r--src/node/examples/route_guide_server.js2
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'
});