Properly decode URLs

This commit is contained in:
2024-10-10 18:39:27 +03:00
parent 8278f2b204
commit 212345764b
2 changed files with 11 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ package main
import (
"os"
"strings"
"sync"
"time"
"github.com/rs/zerolog"
@@ -11,7 +12,10 @@ import (
var CONFIG Config
var wg sync.WaitGroup
func main() {
wg.Add(1)
CONFIG = *getConfig()
zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
zerolog.SetGlobalLevel(CONFIG.logLevel)