fix syncports

This commit is contained in:
mercury
2024-03-07 11:52:34 +04:00
parent cbe0ef8a12
commit b1efd9f400
4 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -4060,8 +4060,8 @@ DNS-over-HTTPS with IP:
$this->wg = $i;
$clients = $this->readClients();
foreach ($clients as $k => $v) {
foreach ($v['peers'] as $i => $j) {
$clients[$k]['peers'][$i]['Endpoint'] = $endpoint[$i];
foreach ($v['peers'] as $n => $j) {
$clients[$k]['peers'][$n]['Endpoint'] = $endpoint[$i];
}
}
$this->saveClients($clients);