mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind bug /area theme /milestone 2.20.x #### What this PR does / why we need it: If we pass a query `language` while requesting index page, we will get the wrong header `Content-Language`. Please see the result below: ```bash http https://www.halo.run/\?language\=zh-CN -p h HTTP/1.1 200 OK Content-Language: und ... ``` After fixing, we will get the right header `Content-Language`. ```bash http http://localhost:8090/\?language\=zh-CN -p h HTTP/1.1 200 OK Content-Language: zh-CN ... ``` #### Does this PR introduce a user-facing change? ```release-note 修复主题端区域和语言解析错误的问题 ``` |
||
---|---|---|
.. | ||
src | ||
build.gradle |