mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 20:00:25 +08:00
10 lines
304 B
JavaScript
10 lines
304 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
let that = this
|
||
|
|
this.accessLogs.forEach(function (accessLog) {
|
||
|
|
if (typeof (that.regions[accessLog.remoteAddr]) == "string") {
|
||
|
|
accessLog.region = that.regions[accessLog.remoteAddr]
|
||
|
|
} else {
|
||
|
|
accessLog.region = ""
|
||
|
|
}
|
||
|
|
})
|
||
|
|
})
|