bchinfo/bch.info

Site doesn't appear to pickup user's preferred language.

Closed this issue · 2 comments

2qx commented

image

If making a request with a language set in the browser, https://bch.info doesn't appear to pickup a user's preferred accept language setting and simply redirects (301) to https://bch.info/en/

2qx commented

I've attempted to fix this here, and although it "works on my machine", it doesn't appear to handle the redirect rules in the netlify preview.

#205

I've attempted to fix this here, and although it "works on my machine", it doesn't appear to handle the redirect rules in the netlify preview.

#205

I just tested this and it worked on the Netlify preview for me. I've merged #205, you can confirm if it works for you on bch.info.