From aa634505dfece32fd140afc6ac20dcacd2341f98 Mon Sep 17 00:00:00 2001 From: Nikhil Mehta Date: Wed, 9 Oct 2024 21:22:33 +0530 Subject: [PATCH] fix(seo): removing all canonical links and domains assigned in vercel too --- nuxt.config.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 276680f..b55c173 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -4,16 +4,6 @@ import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin' const BASE_URL = 'https://diffviewer.vercel.app' const DESCRIPTION = 'A tool that helps you compare any two text blocks without sending any of your data to our servers' -const domainAliases = [ - 'https://diffchecker.vercel.app/', - 'https://textdiff.vercel.app/', - 'https://differencer.vercel.app/', - 'https://diffie.vercel.app/', - 'https://differencefinder.vercel.app/', - 'https://differentiator.vercel.app/', - 'https://text-differentiator.vercel.app/', -] -const canonicalLinks = domainAliases.map((x) => ({ rel: 'canonical', href: x })) export default { ssr: false, head: { @@ -245,7 +235,6 @@ export default { sizes: '180x180', href: '/light-apple-touch-icon-180x180.png', }, - ...canonicalLinks, ], },