This commit is contained in:
1
main.go
1
main.go
@@ -290,6 +290,7 @@ func main() {
|
|||||||
|
|
||||||
if os.Getenv("DEBUG") == "1" {
|
if os.Getenv("DEBUG") == "1" {
|
||||||
DEBUG = true
|
DEBUG = true
|
||||||
|
fmt.Println("~", "Debug mode enabled.")
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.EqualFold(HTTP_TLS, "") || strings.EqualFold(HTTP_PORT, "") || strings.EqualFold(HTTP_TLS_PRIVATEKEY, "") || strings.EqualFold(HTTP_TLS_CERTIFICATE, "") {
|
if strings.EqualFold(HTTP_TLS, "") || strings.EqualFold(HTTP_PORT, "") || strings.EqualFold(HTTP_TLS_PRIVATEKEY, "") || strings.EqualFold(HTTP_TLS_CERTIFICATE, "") {
|
||||||
|
Reference in New Issue
Block a user