Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to only detect browser locale on root path #799

Merged
merged 1 commit into from
Sep 9, 2020

Commits on Sep 9, 2020

  1. feat: add option to only detect browser locale on route for default l…

    …ocale
    
    Don't attempt to detect browser's language when user (or crawler) goes
    directly to a page with a locale prefix if that locale is not the default
    one. This is to avoid redirecting user that potentially wanted to load
    that specific page rather than the one matching browser's language.
    
    Resolves #455
    Resolves #761
    rchl committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    05dcc8f View commit details
    Browse the repository at this point in the history