Wage a war against nuxt-simple-robots. BAD MODULE

This commit is contained in:
Andrew Illarionov 2024-06-19 19:21:55 +03:00
parent 44469bd9f2
commit 7a3cdcc1da
2 changed files with 16 additions and 14 deletions

View File

@ -123,13 +123,6 @@ export default defineNuxtConfig({
Alexandria: true, Alexandria: true,
}, },
}, },
site: {
env: process.env.NODE_ENV,
url: config.url,
name: config.name,
indexable: true,
trailingSlash: false,
},
linkChecker: { linkChecker: {
failOnError: true, failOnError: true,
report: { report: {
@ -137,6 +130,22 @@ export default defineNuxtConfig({
markdown: true, markdown: true,
}, },
}, },
robots: {
enabled: true,
blockNonSeoBots: false,
credits: false,
debug: false,
metaTag: true,
groups: [],
disallow: [' '],
},
site: {
env: process.env.NODE_ENV,
url: config.url,
name: config.name,
indexable: true,
trailingSlash: false,
},
sitemap: { sitemap: {
sources: ['/api/__sitemap__/content'], sources: ['/api/__sitemap__/content'],
cacheMaxAgeSeconds: 360, cacheMaxAgeSeconds: 360,
@ -156,9 +165,6 @@ export default defineNuxtConfig({
lastmod: config.build.date, lastmod: config.build.date,
}, },
}, },
robots: {
enabled: false,
},
tailwindcss: { tailwindcss: {
exposeConfig: true, exposeConfig: true,
}, },

View File

@ -1,4 +0,0 @@
User-agent: *
Disallow:
Sitemap: https://enderman.ch/sitemap.xml