feat: add toutiao script
parent
d0d8ef4854
commit
a57fe0a648
|
@ -18,7 +18,23 @@ function RootLayout({ children }: { children: ReactNode }): ReactElement {
|
|||
<meta name="360-site-verification" content="c2f6de2ca12d108936ee7a52fcbf72dc" />
|
||||
<meta name="bytedance-verification-code" content="uSu4KfluDS94lnP5ePYw" />
|
||||
</head>
|
||||
<body>{children}</body>
|
||||
<body>
|
||||
{children}
|
||||
{/* 头条自动提交 */}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
(function(){
|
||||
var el = document.createElement("script");
|
||||
el.src = "https://lf1-cdn-tos.bytegoofy.com/goofy/ttzz/push.js?654a750e379cda94a5b533d2242efbff0f6a099f15f24cc656d5ce882f5359fe65e0a2ada1d5e86b11e7de7c1a83287d04743a02fd1ee8dd8558a8cad50e91cb354f8c6f3f78e5fd97613c481f678e6d";
|
||||
el.id = "ttzz";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(el, s);
|
||||
})(window)
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue