Fix spacing
This commit is contained in:
parent
1bbce52ae9
commit
747f70db4b
96
bin/peerjs
96
bin/peerjs
@ -13,54 +13,54 @@ var path = require('path')
|
|||||||
demand: false,
|
demand: false,
|
||||||
alias: 'd',
|
alias: 'd',
|
||||||
description: 'debug',
|
description: 'debug',
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
timeout: {
|
timeout: {
|
||||||
demand: false,
|
demand: false,
|
||||||
alias: 't',
|
alias: 't',
|
||||||
description: 'timeout (milliseconds)',
|
description: 'timeout (milliseconds)',
|
||||||
default: 5000
|
default: 5000
|
||||||
},
|
},
|
||||||
ip_limit: {
|
ip_limit: {
|
||||||
demand: false,
|
demand: false,
|
||||||
alias: 'i',
|
alias: 'i',
|
||||||
description: 'IP limit',
|
description: 'IP limit',
|
||||||
default: 5000
|
default: 5000
|
||||||
},
|
},
|
||||||
concurrent_limit: {
|
concurrent_limit: {
|
||||||
demand: false,
|
demand: false,
|
||||||
alias: 'c',
|
alias: 'c',
|
||||||
description: 'concurrent limit',
|
description: 'concurrent limit',
|
||||||
default: 5000
|
default: 5000
|
||||||
},
|
},
|
||||||
key: {
|
key: {
|
||||||
demand: false,
|
demand: false,
|
||||||
alias: 'k',
|
alias: 'k',
|
||||||
description: 'connection key',
|
description: 'connection key',
|
||||||
default: 'peerjs'
|
default: 'peerjs'
|
||||||
},
|
},
|
||||||
sslkey: {
|
sslkey: {
|
||||||
demand: false,
|
demand: false,
|
||||||
description: 'path to SSL key'
|
description: 'path to SSL key'
|
||||||
},
|
},
|
||||||
sslcert: {
|
sslcert: {
|
||||||
demand: false,
|
demand: false,
|
||||||
description: 'path to SSL certificate'
|
description: 'path to SSL certificate'
|
||||||
},
|
},
|
||||||
port: {
|
port: {
|
||||||
demand: true,
|
demand: true,
|
||||||
alias: 'p',
|
alias: 'p',
|
||||||
description: 'port'
|
description: 'port'
|
||||||
},
|
},
|
||||||
path: {
|
path: {
|
||||||
demand: false,
|
demand: false,
|
||||||
description: 'custom path',
|
description: 'custom path',
|
||||||
default: '/'
|
default: '/'
|
||||||
},
|
},
|
||||||
allow_discovery: {
|
allow_discovery: {
|
||||||
demand: false,
|
demand: false,
|
||||||
description: 'allow discovery of peers'
|
description: 'allow discovery of peers'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.boolean('allow_discovery')
|
.boolean('allow_discovery')
|
||||||
.argv;
|
.argv;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user