解决google ad警告

This commit is contained in:
yi-ge 2020-09-26 19:15:12 +08:00
parent fc08315bf8
commit 995f875616
2 changed files with 14 additions and 4 deletions

14
app.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html {{ HTML_ATTRS }}>
<head {{ HEAD_ATTRS }}>
{{ HEAD }}
<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async
data-ad-client="ca-pub-2143583075951360"></script>
</head>
<body {{ BODY_ATTRS }}>
{{ APP }}
</body>
</html>

View File

@ -49,10 +49,6 @@ module.exports = {
type: 'image/x-icon', type: 'image/x-icon',
href: '/favicon.ico' href: '/favicon.ico'
} }
],
script: [
{ src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js', async: true, 'data-ad-client': 'ca-pub-2143583075951360' }
// { src: 'https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js' }
] ]
}, },