Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

ports from ENV#1136

Open
thegobot wants to merge 1 commit into
open-webrtc-toolkit:masterfrom
thegobot:patch-6
Open

ports from ENV#1136
thegobot wants to merge 1 commit into
open-webrtc-toolkit:masterfrom
thegobot:patch-6

Conversation

@thegobot

Copy link
Copy Markdown
Contributor

No description provided.

@thegobot
thegobot requested a review from starwarfan as a code owner January 12, 2022 01:24
config.webrtc.stunport = config.webrtc.stunport || 0;
config.webrtc.minport = config.webrtc.minport || 0;
config.webrtc.maxport = config.webrtc.maxport || 0;
config.webrtc.minport = config.webrtc.minport.indexOf('$') === 0 ? process.env[config.webrtc.minport.substr(1)] : (config.webrtc.minport || 0);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(config.webrtc.minport.indexOf('$') === 0 ? process.env[config.webrtc.minport.substr(1)] : config.webrtc.minport) || 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants