~repos /gromer

#golang#htmx#ssr

git clone https://pyrossh.dev/repos/gromer.git

gromer is a framework and cli to build multipage web apps in golang using htmx and alpinejs.


be353083 Peter John

tag: v0.9.4

v0.9.4

3 years ago
log full url
Files changed (1) hide show
  1. http.go +1 -1
http.go CHANGED
@@ -164,5 +164,5 @@ func LogReq(status int, r *http.Request) {
164
164
  } else if r.Method == "DELETE" {
165
165
  m = color.FgRed
166
166
  }
167
- log.Info().Msgf("%3s %s %s", color.New(a).Sprint(status), color.New(m).Sprintf("%-4s", r.Method), color.WhiteString(r.URL.Path))
167
+ log.Info().Msgf("%3s %s %s", color.New(a).Sprint(status), color.New(m).Sprintf("%-4s", r.Method), color.WhiteString(r.URL.String()))
168
168
  }