diff --git a/client/web/assets/template.html b/client/web/assets/template.html
index 248c1c80..a0635572 100644
--- a/client/web/assets/template.html
+++ b/client/web/assets/template.html
@@ -43,9 +43,9 @@
tip.style.fontSize = '18px';
tip.style.marginTop = '20px';
tip.style.color = 'gray';
- tip.innerText = navigator.language === 'zh-CN'
- ? '可能资源加载出现了一些问题,请手动刷新重试一下'
- : 'There may be some problems with resource loading, please refresh manually and try again'
+ tip.innerHTML = navigator.language === 'zh-CN'
+ ? '可能资源加载出现了一些问题,请手动刷新重试一下'
+ : 'There may be some problems with resource loading, please refresh manually and try again'
el.appendChild(tip)
}
}, 10000);
diff --git a/client/web/build/webpack.config.ts b/client/web/build/webpack.config.ts
index 2d08ce81..26653c3f 100644
--- a/client/web/build/webpack.config.ts
+++ b/client/web/build/webpack.config.ts
@@ -56,7 +56,7 @@ const plugins: Configuration['plugins'] = [
'process.env.VERSION': JSON.stringify(VERSION),
}),
new HtmlWebpackPlugin({
- inject: true,
+ inject: 'body',
hash: false,
favicon: path.resolve(ROOT_PATH, './assets/images/favicon.ico'),
template: path.resolve(ROOT_PATH, './assets/template.html'),