From 52452328e8a7fb45a1e3ee37dda89ec96c7502f4 Mon Sep 17 00:00:00 2001 From: frankkeres Date: Thu, 17 Apr 2025 10:44:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E5=85=A5=E5=AE=A2=E6=9C=8D=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nuxt.config.js b/nuxt.config.js index 551b2c9..de500bc 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -18,6 +18,11 @@ export default { `, type: 'text/javascript', }, + { + innerHTML: `(function(d,w,c){if(w[c])return;var s=d.createElement("script");w[c]=function(){(w[c].z=w[c].z||[]).push(arguments);};s.async=true;s.src="https://static.ahc.ink/hecong.js";if(d.head)d.head.appendChild(s);})(document,window,"_AIHECONG");_AIHECONG("ini",{channelId:"9BgJ9p"});`, + type: 'text/javascript', + body: true + } ], __dangerouslyDisableSanitizers: ['script'], // 允许内联脚本 htmlAttrs: {