更新 root.tsx

This commit is contained in:
oiov authored and GitHub committed 2025-03-21 19:32:50 +08:00
1 parent a9ec40e2fb
commit 37978360a2
1 file changed
+1 -7
+1 -7
View File
@@ -50,13 +50,7 @@ export default function App() {
let { i18n } = useTranslation();
useChangeLanguage(locale);
useEffect(() => {
if (isInWebView()) {
// alert("禁止 WebView 访问");
window.location.href = "https://www.oiov.dev";
}
}, []);
return (
<html lang={locale} dir={i18n.dir()}>
<head>