Log to stdout
This commit is contained in:
parent
3623fb8e8e
commit
91cc68efe7
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import (
|
|||
"log"
|
||||
"net"
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"forgejo.gwairfelin.com/max/gonotes/internal/conf"
|
||||
"forgejo.gwairfelin.com/max/gonotes/internal/notes/views"
|
||||
|
|
@ -18,6 +19,8 @@ func main() {
|
|||
|
||||
conf.LoadConfig(confFile)
|
||||
|
||||
log.SetOutput(os.Stdout)
|
||||
|
||||
router := http.NewServeMux()
|
||||
notesRouter := views.GetRoutes("/notes")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue