fix: Correctly detect base path at the app root / when using a locale prefix strategy other than always. This ensures the locale cookie is set correctly. - #999
Conversation
…le prefix strategy other than `always`
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/ when using a locale prefix strategy other than always/ when using a locale prefix strategy other than always. This ensures the locale cookie is set correctly.
|
We experience the same problem with the same config parameters as above. |
|
Yes! I fixed it. Tried different approach by following Mohammad's tutorial Did POC on fresh NextJS install and then tried to replicate on my website. TypeError [ERR_INVALID_STATE]: Invalid state: ReadableStream is already closed The problem is: Solution |
…le prefix strategy other than `always`. This ensures the locale cookie is set correctly. (amannn#999) Fixes amannn#997


Fixes #997