robots.txt
This commit is contained in:
parent
4e47d5d19a
commit
1553ce5610
@ -44,6 +44,7 @@ export default defineNuxtConfig({
|
||||
'@pinia/nuxt',
|
||||
'@nuxtjs/i18n',
|
||||
'@nuxtjs/sitemap',
|
||||
'@nuxtjs/robots',
|
||||
['@pinia/nuxt', {
|
||||
autoImports: [
|
||||
'defineStore',
|
||||
@ -60,6 +61,15 @@ export default defineNuxtConfig({
|
||||
return await getSitemapRoutes()
|
||||
}
|
||||
},
|
||||
robots: {
|
||||
rules: [
|
||||
{
|
||||
userAgent: '*',
|
||||
allow: '/'
|
||||
}
|
||||
],
|
||||
sitemap: 'https://www.digimedialoop.de/sitemap.xml'
|
||||
},
|
||||
image: {
|
||||
debug: true,
|
||||
strapi: {
|
||||
|
||||
21
package-lock.json
generated
21
package-lock.json
generated
@ -14,6 +14,7 @@
|
||||
"@nuxt/scripts": "^0.11.6",
|
||||
"@nuxt/ui": "^3.0.2",
|
||||
"@nuxtjs/i18n": "^9.5.3",
|
||||
"@nuxtjs/robots": "^5.2.10",
|
||||
"@nuxtjs/sitemap": "^7.3.0",
|
||||
"@pinia/nuxt": "^0.11.0",
|
||||
"nitropack": "^2.11.9",
|
||||
@ -3428,6 +3429,26 @@
|
||||
"url": "https://github.com/sponsors/bobbiegoede"
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxtjs/robots": {
|
||||
"version": "5.2.10",
|
||||
"resolved": "https://registry.npmjs.org/@nuxtjs/robots/-/robots-5.2.10.tgz",
|
||||
"integrity": "sha512-WiO+VA8UwDgVLy7JCrGTrAmSNNw397OuNseKOG051ixswEDd0QhNw4cUtgNd2RkSIL7WlkfwkizdJFCd9y9iXw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@nuxt/kit": "^3.16.2",
|
||||
"consola": "^3.4.2",
|
||||
"defu": "^6.1.4",
|
||||
"nuxt-site-config": "^3.1.9",
|
||||
"pathe": "^2.0.3",
|
||||
"pkg-types": "^2.1.0",
|
||||
"sirv": "^3.0.1",
|
||||
"std-env": "^3.9.0",
|
||||
"ufo": "^1.6.1"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/harlan-zw"
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxtjs/sitemap": {
|
||||
"version": "7.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@nuxtjs/sitemap/-/sitemap-7.3.0.tgz",
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
"@nuxt/scripts": "^0.11.6",
|
||||
"@nuxt/ui": "^3.0.2",
|
||||
"@nuxtjs/i18n": "^9.5.3",
|
||||
"@nuxtjs/robots": "^5.2.10",
|
||||
"@nuxtjs/sitemap": "^7.3.0",
|
||||
"@pinia/nuxt": "^0.11.0",
|
||||
"nitropack": "^2.11.9",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user