mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-10 15:17:51 +02:00
Fixed #131
- Added LAN detection in geoip resolver - Updated UI for LAN/loopback request origin rendering
This commit is contained in:
@@ -765,8 +765,11 @@
|
||||
let data = Object.values(visitorData);
|
||||
|
||||
Object.keys(visitorData).forEach(function(cc){
|
||||
console.log(cc);
|
||||
if (cc == ""){
|
||||
labels.push("Local / Unknown")
|
||||
labels.push("Unknown")
|
||||
}else if (cc == "lan"){
|
||||
labels.push(`LAN / Loopback`);
|
||||
}else{
|
||||
labels.push(`${getCountryName(cc)} [${cc.toUpperCase()}]` );
|
||||
}
|
||||
|
Reference in New Issue
Block a user