From 9235ef5e064f06a3b40dfa6fb4d8d2459eace76a Mon Sep 17 00:00:00 2001 From: Mohammad Foroughi Date: Mon, 31 Oct 2022 13:49:58 +0330 Subject: [PATCH] update: remove always return true in debug mode --- config/config.go | 1 - 1 file changed, 1 deletion(-) diff --git a/config/config.go b/config/config.go index c8f12e64..e1c7f911 100644 --- a/config/config.go +++ b/config/config.go @@ -42,7 +42,6 @@ func GetLogLevel() LogLevel { } func IsDebug() bool { - return true return os.Getenv("XUI_DEBUG") == "true" }