pages functions middleware help

I have issue with middleware, i need to change in middleware authorization header from response, to use it in next requests in /api folder, but it doesnt changing.
Was this page helpful?