Initial commit (code only without large binaries)
This commit is contained in:
12
EdgeUser/web/views/@default/servers/server/log/today.js
Normal file
12
EdgeUser/web/views/@default/servers/server/log/today.js
Normal file
@@ -0,0 +1,12 @@
|
||||
Tea.context(function () {
|
||||
let that = this
|
||||
if (this.featureIsOn) {
|
||||
this.accessLogs.forEach(function (accessLog) {
|
||||
if (typeof (that.regions[accessLog.remoteAddr]) == "string") {
|
||||
accessLog.region = that.regions[accessLog.remoteAddr]
|
||||
} else {
|
||||
accessLog.region = ""
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user