Skip to content

Commit

Permalink
fix(BBBRequestMiddleware): adjust for incompatible change in echo 4.10.1
Browse files Browse the repository at this point in the history
In labstack/echo#2385, a fix for
labstack/echo#2384 was added.
The proposed fix is to use the path from the Request URL.
  • Loading branch information
danimo committed Nov 14, 2023
1 parent 3a2a937 commit f64b03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/http/bbb_request_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func BBBRequestMiddleware(
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
defer cancel()

path := c.Path()
path := c.Request().URL.Path
if !strings.HasPrefix(path, mountPoint) {
return next(c) // nothing to do here.
}
Expand Down

0 comments on commit f64b03f

Please sign in to comment.