watermill icon indicating copy to clipboard operation
watermill copied to clipboard

fix: first added middleware should be executed first

Open Azzahid opened this issue 1 year ago • 0 comments

Reverse the middleware execution order. router.go:210 and router.go:197 use to append middleware instead of prepend it.

Reversing the loop so it will execute the middleware that got added first.

Azzahid avatar Nov 03 '24 18:11 Azzahid