fix(web) fix generated config syntax
Arrow functions don't work on the JS interpreter which evaluates config.js on Android. Fixes: https://github.com/jitsi/docker-jitsi-meet/issues/2031
This commit is contained in:
@@ -137,7 +137,7 @@ config.p2p = {
|
||||
};
|
||||
|
||||
{{ if .Env.P2P_STUN_SERVERS -}}
|
||||
config.p2p.stunServers = '{{ .Env.P2P_STUN_SERVERS }}'.split(',').map(url => ({ urls: 'stun:' + url }));
|
||||
config.p2p.stunServers = '{{ .Env.P2P_STUN_SERVERS }}'.split(',').map(function (url) { return { urls: 'stun:' + url }; } );
|
||||
|
||||
{{ end -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user