Skip to content

Commit 47876b9

Browse files
committed
chore: added google ad sense script
removed canonical links
1 parent 03f176b commit 47876b9

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

nuxt.config.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@ import path from 'path'
22
import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin'
33

44
const BASE_URL = 'https://diffviewer.vercel.app'
5-
const domainAliases = [
6-
'https://diffchecker.vercel.app/',
7-
'https://textdiff.vercel.app/',
8-
'https://differencer.vercel.app/',
9-
'https://diffie.vercel.app/',
10-
'https://differencefinder.vercel.app/',
11-
]
12-
const canonicalLinks = domainAliases.map((x) => ({ rel: 'canonical', href: x }))
135
const DESCRIPTION =
146
'A privacy first diff viewer that is secure, easy, simple and for any text type'
157
export default {
168
ssr: false,
179
head: {
1810
title: `Diff viewer - ${DESCRIPTION}`,
11+
script: [
12+
{
13+
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4467877923505914',
14+
crossorigin: 'anonymous',
15+
},
16+
],
1917
meta: [
2018
{ charset: 'utf-8' },
2119
{ name: 'color-scheme', content: 'dark light' },
@@ -229,7 +227,6 @@ export default {
229227
sizes: '180x180',
230228
href: '/light-apple-touch-icon-180x180.png',
231229
},
232-
...canonicalLinks,
233230
],
234231
},
235232

0 commit comments

Comments
 (0)