admin -> dashboard
This commit is contained in:
@@ -965,10 +965,10 @@ function setupTurn(app, options, callback) {
|
||||
if (!turnSecret) return callback(new BoxError(BoxError.ADDONS_ERROR, 'Turn secret is missing'));
|
||||
|
||||
const env = [
|
||||
{ name: 'CLOUDRON_STUN_SERVER', value: settings.adminFqdn() },
|
||||
{ name: 'CLOUDRON_STUN_SERVER', value: settings.dashboardFqdn() },
|
||||
{ name: 'CLOUDRON_STUN_PORT', value: '3478' },
|
||||
{ name: 'CLOUDRON_STUN_TLS_PORT', value: '5349' },
|
||||
{ name: 'CLOUDRON_TURN_SERVER', value: settings.adminFqdn() },
|
||||
{ name: 'CLOUDRON_TURN_SERVER', value: settings.dashboardFqdn() },
|
||||
{ name: 'CLOUDRON_TURN_PORT', value: '3478' },
|
||||
{ name: 'CLOUDRON_TURN_TLS_PORT', value: '5349' },
|
||||
{ name: 'CLOUDRON_TURN_SECRET', value: turnSecret }
|
||||
@@ -1564,7 +1564,7 @@ function startTurn(existingInfra, serviceConfig, callback) {
|
||||
const tag = infra.images.turn.tag;
|
||||
const memoryLimit = serviceConfig.memoryLimit || SERVICES['turn'].defaultMemoryLimit;
|
||||
const memory = system.getMemoryAllocation(memoryLimit);
|
||||
const realm = settings.adminFqdn();
|
||||
const realm = settings.dashboardFqdn();
|
||||
|
||||
const blobGet = util.callbackify(blobs.get);
|
||||
blobGet(blobs.ADDON_TURN_SECRET, function (error, turnSecret) {
|
||||
|
||||
Reference in New Issue
Block a user