Skip to content

Commit

Permalink
fix DNS outbound error in list
Browse files Browse the repository at this point in the history
Co-Authored-By: Alireza Ahmadi <[email protected]>
  • Loading branch information
MHSanaei and alireza0 committed Apr 17, 2024
1 parent 0e17521 commit a660ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/html/xui/xray.html
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@
serverObj = o.settings.servers;
break;
case Protocols.DNS:
return [o.settings.address + ':' + o.settings.port];
return [o.settings?.address + ':' + o.settings?.port];
case Protocols.Wireguard:
return o.settings.peers.map(peer => peer.endpoint);
default:
Expand Down

0 comments on commit a660ad6

Please sign in to comment.