fix 页内url替换

This commit is contained in:
tangly1024.com
2024-10-14 14:05:09 +08:00
parent 675def4936
commit b17be3024e
2 changed files with 44 additions and 42 deletions

View File

@@ -1,16 +1,15 @@
import { siteConfig } from '@/lib/config'
import dynamic from 'next/dynamic'
import { GlobalStyle } from './GlobalStyle'
import LA51 from './LA51'
import TianLiGPT from './TianliGPT'
import WebWhiz from './Webwhiz'
import { convertInnerUrl } from '@/lib/notion/convertInnerUrl'
import { isBrowser, loadExternalResource } from '@/lib/utils'
import dynamic from 'next/dynamic'
import { useRouter } from 'next/router'
import { useEffect } from 'react'
import Coze from './Coze'
import { GlobalStyle } from './GlobalStyle'
import { initGoogleAdsense } from './GoogleAdsense'
import LA51 from './LA51'
import TianLiGPT from './TianliGPT'
import WebWhiz from './Webwhiz'
/**
* 各种插件脚本
@@ -105,7 +104,7 @@ const ExternalPlugin = props => {
if (ADSENSE_GOOGLE_ID) {
setTimeout(() => {
initGoogleAdsense(ADSENSE_GOOGLE_ID)
}, 1000)
}, 3000)
}
// 映射url