We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa60f0 commit 5beea42Copy full SHA for 5beea42
packages/hap-server/src/preview/create-router.js
@@ -216,7 +216,7 @@ export default async function createRouter(previewTarget) {
216
const type = requestRoute in widgets ? 'card' : 'app'
217
const script = routes[requestRoute]
218
const currentLanguage = JSON.parse(
219
- process.env.VSCODE_NLS_CONFIG || `{locale: 'zh-CN'}`
+ process.env.VSCODE_NLS_CONFIG || '{"locale":"zh-CN"}'
220
).locale
221
const html = await renderPage(TPL_PAGE_PATH, {
222
title: manifest.name,
0 commit comments