fix warning when there is no access.log

after this
if limitip is 0 and there is no access.log on xray config you don't see this warning
access.log doesn't exist in your config.json
-------------
better view on ip log
-------------
update dependencies
This commit is contained in:
MHSanaei
2023-06-16 01:08:35 +03:30
parent 4e89c71095
commit 4cc755c883
4 changed files with 52 additions and 23 deletions

3
go.mod
View File

@@ -6,7 +6,6 @@ require (
github.com/Workiva/go-datastructures v1.1.0
github.com/gin-contrib/sessions v0.0.4
github.com/gin-gonic/gin v1.9.1
github.com/go-cmd/cmd v1.4.1
github.com/goccy/go-json v0.10.2
github.com/mymmrac/telego v0.25.0
github.com/nicksnyder/go-i18n/v2 v2.2.1
@@ -17,7 +16,7 @@ require (
github.com/xtls/xray-core v1.8.1
go.uber.org/atomic v1.11.0
golang.org/x/text v0.10.0
google.golang.org/grpc v1.55.0
google.golang.org/grpc v1.56.0
gorm.io/driver/sqlite v1.5.2
gorm.io/gorm v1.25.2-0.20230530020048-26663ab9bf55
)