allow remote peers to call hubClient.connect
This commit is contained in:
parent
a97fe9a0c2
commit
9fe47c2b9f
|
@ -8,9 +8,14 @@ const { ErrorDuplex } = require('./utils')
|
|||
module.exports = {
|
||||
name: 'hubClient',
|
||||
manifest: {
|
||||
add: 'async',
|
||||
connect: 'duplex',
|
||||
},
|
||||
permissions: {
|
||||
anonymous: {
|
||||
allow: ['connect'],
|
||||
},
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {any} sstack
|
||||
* @param {any} config
|
||||
|
|
Loading…
Reference in New Issue