add panel usage to main page

This commit is contained in:
MHSanaei
2023-08-09 00:37:05 +03:30
parent 05bc655e16
commit e00c3f1823
4 changed files with 57 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ import (
"x-ui/xray"
)
type CheckClientIpJob struct {}
type CheckClientIpJob struct{}
var job *CheckClientIpJob
var disAllowedIps []string
@@ -31,7 +31,6 @@ func NewCheckClientIpJob() *CheckClientIpJob {
}
func (j *CheckClientIpJob) Run() {
logger.Debug("Check Client IP Job...")
// create files required for iplimit if not exists
for i := 0; i < len(ipFiles); i++ {