choose any of the shared domains
This commit is contained in:
parent
d63b6cb370
commit
b386857d99
|
@ -456,7 +456,8 @@ module.exports.pairPin = function (opts) {
|
||||||
|
|
||||||
console.log('[pairPin] generating offer');
|
console.log('[pairPin] generating offer');
|
||||||
var hri = require('human-readable-ids').hri;
|
var hri = require('human-readable-ids').hri;
|
||||||
var hrname = hri.random() + '.' + state.config.sharedDomain;
|
var i = Math.floor(Math.random() * state.config.sharedDomains.length);
|
||||||
|
var hrname = hri.random() + '.' + state.config.sharedDomains[i];
|
||||||
// TODO check used / unused names and ports
|
// TODO check used / unused names and ports
|
||||||
var authzData = {
|
var authzData = {
|
||||||
id: auth.id
|
id: auth.id
|
||||||
|
|
Loading…
Reference in New Issue