mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-25 07:26:49 +00:00
部分配置支持环境变量
This commit is contained in:
@@ -26,12 +26,10 @@ const GoogleAdsense = dynamic(() => import('@/components/GoogleAdsense'), { ssr:
|
||||
const MyApp = ({ Component, pageProps }) => {
|
||||
return (
|
||||
<GlobalContextProvider>
|
||||
{BLOG.ANALYTICS_ACKEE_ENABLE && (
|
||||
<Ackee />
|
||||
)}
|
||||
{BLOG.ANALYTICS_GOOGLE_ENABLE && <Gtag />}
|
||||
{BLOG.ANALYTICS_BUSUANZI_ENABLE && <Busuanzi/>}
|
||||
{BLOG.GOOGLE_ADSENSE_ENABLE && <GoogleAdsense/>}
|
||||
{BLOG.ANALYTICS_ACKEE_TRACKER && <Ackee />}
|
||||
{BLOG.ANALYTICS_GOOGLE_ID && <Gtag />}
|
||||
{JSON.parse(BLOG.ANALYTICS_BUSUANZI_ENABLE) && <Busuanzi/>}
|
||||
{BLOG.ADSENSE_GOOGLE_ID && <GoogleAdsense/>}
|
||||
<Component {...pageProps} />
|
||||
</GlobalContextProvider>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user