mirror of
https://github.com/openziti/zrok.git
synced 2025-01-08 23:20:04 +01:00
log the requested path through 'test endpoint'
This commit is contained in:
parent
d1a0afd6a0
commit
0b9d61b961
@ -54,7 +54,7 @@ func (cmd *testEndpointCommand) run(_ *cobra.Command, _ []string) {
|
||||
}
|
||||
|
||||
func (cmd *testEndpointCommand) serveIndex(w http.ResponseWriter, r *http.Request) {
|
||||
logrus.Infof("%v {%v} -> /index.gohtml", r.RemoteAddr, r.Host)
|
||||
logrus.Infof("%v {%v} | %v -> /index.gohtml", r.RemoteAddr, r.Host, r.RequestURI)
|
||||
if err := cmd.t.Execute(w, newEndpointData(r)); err != nil {
|
||||
log.Error(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user