Skip to content

Commit b1a1904

Browse files
committed
fixup! url.JoinPath
1 parent 7de9a8b commit b1a1904

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/httpapi/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ func (s *Server) registerStaticFileRoutes() {
324324
func (s *Server) redirectToChat(w http.ResponseWriter, r *http.Request) {
325325
rdir, err := url.JoinPath(s.chatBasePath, "embed")
326326
if err != nil {
327+
s.logger.Error("Failed to construct redirect URL", "error", err)
327328
http.Error(w, "Failed to redirect", http.StatusInternalServerError)
328329
return
329330
}

0 commit comments

Comments
 (0)