Add debug mode to log
This commit is contained in:
parent
ba31bc24a6
commit
c22cf9e7c8
7 changed files with 56 additions and 9 deletions
|
@ -28,5 +28,6 @@ func Serve() {
|
|||
router.HandleFunc("GET /login", func(w http.ResponseWriter, r *http.Request) { auth.Login(w, r, data) })
|
||||
|
||||
slog.Info("🪐 pye started", "port", config.Cfg.Port)
|
||||
slog.Debug("debug mode active")
|
||||
http.ListenAndServe(":"+strconv.Itoa(config.Cfg.Port), router)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue