We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7de9a8b commit b1a1904Copy full SHA for b1a1904
lib/httpapi/server.go
@@ -324,6 +324,7 @@ func (s *Server) registerStaticFileRoutes() {
324
func (s *Server) redirectToChat(w http.ResponseWriter, r *http.Request) {
325
rdir, err := url.JoinPath(s.chatBasePath, "embed")
326
if err != nil {
327
+ s.logger.Error("Failed to construct redirect URL", "error", err)
328
http.Error(w, "Failed to redirect", http.StatusInternalServerError)
329
return
330
}
0 commit comments