diff --git a/main.go b/main.go index b75d912..90eb275 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,7 @@ package main import ( "context" + "log" "net/http" "github.com/a-h/templ" @@ -23,5 +24,5 @@ func main() { func() templ.Component { return Click(clicks) }, func() { clicks++ }, )) - http.ListenAndServe(":3333", nil) + log.Fatal(http.ListenAndServe(":3333", nil)) }