Skip to content
Browse files

process.ARGV is now called process.argv.

  • Loading branch information...
1 parent d349095 commit 3e0294f0ccbb4264db411dc26d5af87eb465239e @jcoglan jcoglan committed Nov 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/node/server.js
View
4 examples/node/server.js
@@ -10,8 +10,8 @@ var SHARED_DIR = path.dirname(__filename) + '/../shared',
PUBLIC_DIR = SHARED_DIR + '/public',
bayeux = new faye.NodeAdapter({mount: '/bayeux', timeout: 20}),
- port = process.ARGV[2] || '8000',
- secure = process.ARGV[3] === 'ssl',
+ port = process.argv[2] || '8000',
+ secure = process.argv[3] === 'ssl',
sslOpts = {
key: fs.readFileSync(SHARED_DIR + '/server.key'),

0 comments on commit 3e0294f

Please sign in to comment.
Something went wrong with that request. Please try again.