Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/web.go')
-rw-r--r--web/web.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/web.go b/web/web.go
index 968f7dc1..010be186 100644
--- a/web/web.go
+++ b/web/web.go
@@ -13,6 +13,7 @@ import (
"strconv"
"strings"
"time"
+
"x-ui/config"
"x-ui/logger"
"x-ui/util/common"
@@ -295,7 +296,7 @@ func (s *Server) startTask() {
}
func (s *Server) Start() (err error) {
- //This is an anonymous function, no function name
+ // This is an anonymous function, no function name
defer func() {
if err != nil {
s.Stop()