Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot committed Feb 18, 2022
1 parent 1befbf3 commit d9a962e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/ws-proxy/pkg/proxy/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,14 @@ func installWorkspaceRoutes(r *mux.Router, config *RouteHandlerConfig, ip Worksp
sshHostKeyRouter.Use(logRouteHandlerHandler("HandleSSHHostKeyRoute"))
sshHostKeyRouter.Use(config.CorsHandler)
sshHostKeyRouter.NewRoute().HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
log.Info("hit host key router")
rw.Header().Add("Content-Type", "application/json")
rw.Write(byt)
})
log.Info("install host key router")
}
} else {
log.Info("host key empty")
}

// The favicon warants special handling, because we pull that from the supervisor frontend
Expand Down

0 comments on commit d9a962e

Please sign in to comment.