Thanks to visit codestin.com
Credit goes to github.com

Skip to content

version 5.11.3 doesn't seem to pass the correct locale anymore from middleware. #2973

Open
@BArtistically

Description

@BArtistically

in version 5.11.3 when using middleware, the locale is not passed anymore. It is still present in the middleware but in the getStaticProps it defaults to the default.
Even when only returning NextResponse.next(); in version 5.11.2 everything was still ok.
Can someone check what made it break. Currently reverting to 5.11.2 until it is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions