New setting to listen C2S connection on non-localhost interfaces (#377).

This commit is contained in:
John Livingston
2024-05-27 16:32:40 +02:00
parent 345ec0ba56
commit 5a14e3f755
7 changed files with 50 additions and 2 deletions

View File

@ -337,8 +337,9 @@ class ProsodyConfigContent {
}
}
useC2S (c2sPort: string): void {
useC2S (c2sPort: string, c2sInterfaces: string[]): void {
this.global.set('c2s_ports', [c2sPort])
this.global.set('c2s_interfaces', c2sInterfaces)
}
useS2S (