Description
Using next-intl@2.14.0-beta.3 version and following the example withExtraMiddleware the request headers aren't modified.
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://github.com/ARochniak/next-intl-middleware.git
Reproduction description
Steps to reproduce:
- Clone reproduction repo
- Run
yarn && yarn dev
- Open
https://localhost:3000 in the browser
- Restart the page
- You can see in the log message
X-test header: null, but it should be X-test header: test
Expected behaviour
According to the example withExtraMiddleware, request headers should be modified correctly.
Description
Using
next-intl@2.14.0-beta.3version and following the example withExtraMiddleware the request headers aren't modified.Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://github.com/ARochniak/next-intl-middleware.git
Reproduction description
Steps to reproduce:
yarn && yarn devhttps://localhost:3000in the browserX-test header: null, but it should beX-test header: testExpected behaviour
According to the example withExtraMiddleware, request headers should be modified correctly.