fix(dev-server): use correct dev server HTML lang attribute (#11271)

Co-authored-by: sebastien <lorber.sebastien@gmail.com>
This commit is contained in:
enumura 2025-06-17 23:11:14 +09:00 committed by GitHub
parent ee332e951d
commit a94fdbe21c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -117,6 +117,7 @@ export async function createStartClientConfig({
headTags,
preBodyTags,
postBodyTags,
lang: props.i18n.localeConfigs[props.i18n.currentLocale]!.htmlLang,
}),
],
},

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="<%= htmlWebpackPlugin.options.lang %>">
<head>
<meta charset="utf-8">
<meta name="generator" content="Docusaurus">