diff options
Diffstat (limited to 'web/html/xray.html')
| -rw-r--r-- | web/html/xray.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/html/xray.html b/web/html/xray.html index a4d17459..61c40c80 100644 --- a/web/html/xray.html +++ b/web/html/xray.html @@ -1077,7 +1077,8 @@ return; } if (!msg.obj) return; - const { geoip = [], geosite = [] } = msg.obj; + const geoip = msg.obj.geoip ?? []; + const geosite = msg.obj.geosite ?? []; const geoSuffix = this.customGeoAliasLabelSuffix || ''; geoip.forEach((x) => { this.settingsData.IPsOptions.push({ |
