aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/node/route_guide/route_guide_server.js
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-02-05 13:05:31 -0800
committerGravatar murgatroid99 <mlumish@google.com>2016-02-05 13:05:31 -0800
commit95060b510e181588a7229ee498594a5864cf9926 (patch)
treebfe6f60cbd79a309f594c8b2fc92d1e955359f70 /examples/node/route_guide/route_guide_server.js
parentb59b142799fe28482162bc192d6205fcb749c6c4 (diff)
Make Node examples package self-contained
Diffstat (limited to 'examples/node/route_guide/route_guide_server.js')
-rw-r--r--examples/node/route_guide/route_guide_server.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/node/route_guide/route_guide_server.js b/examples/node/route_guide/route_guide_server.js
index 2090a6a1d2..06cf2925e1 100644
--- a/examples/node/route_guide/route_guide_server.js
+++ b/examples/node/route_guide/route_guide_server.js
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2015, Google Inc.
+ * Copyright 2015-2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -30,12 +30,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
-
+
var fs = require('fs');
var parseArgs = require('minimist');
var path = require('path');
var _ = require('lodash');
-var grpc = require('../../../');
+var grpc = require('grpc');
var routeguide = grpc.load(__dirname + '/route_guide.proto').routeguide;
var COORD_FACTOR = 1e7;