diff --git a/nuxt.config.js b/nuxt.config.js index eab0fc65..5e2cd6b0 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -70,8 +70,14 @@ export default { modules: [ // https://go.nuxtjs.dev/axios '@nuxtjs/axios', + '@nuxtjs/robots', ], + robots: { + UserAgent: '*', + Allow: '/', + }, + // Axios module configuration: https://go.nuxtjs.dev/config-axios axios: { // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308 diff --git a/package-lock.json b/package-lock.json index d9fee709..cb11c2d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@inb/oeb-chart-scatter": "^1.1.4", "@inb/oeb-classification-table": "^1.2.3", "@nuxtjs/axios": "^5.13.6", + "@nuxtjs/robots": "^2.5.0", "core-js": "^3.22.6", "dompurify": "^2.3.8", "gsap": "^3.10.4", @@ -4259,6 +4260,11 @@ "integrity": "sha512-8UWj5lNv7HD+kB0e9w77Z7TdQlbUYDVWqITLHNqFIn6khrNHv5WQo38Dcm1f6HeNyZf0U7UbPf6WeZDSdCzGDQ==", "dev": true }, + "node_modules/@nuxtjs/robots": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@nuxtjs/robots/-/robots-2.5.0.tgz", + "integrity": "sha512-z1F3HXb05NiZga8Cuq6k5bbowfJOScPtbSOakip0nege+1aI9pGoajzap8eR5s1qwLXAk9Ts+NcgetoUn5lwrQ==" + }, "node_modules/@nuxtjs/stylelint-module": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@nuxtjs/stylelint-module/-/stylelint-module-4.1.0.tgz", @@ -35153,6 +35159,11 @@ } } }, + "@nuxtjs/robots": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@nuxtjs/robots/-/robots-2.5.0.tgz", + "integrity": "sha512-z1F3HXb05NiZga8Cuq6k5bbowfJOScPtbSOakip0nege+1aI9pGoajzap8eR5s1qwLXAk9Ts+NcgetoUn5lwrQ==" + }, "@nuxtjs/stylelint-module": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@nuxtjs/stylelint-module/-/stylelint-module-4.1.0.tgz", diff --git a/package.json b/package.json index cfde9eb7..8d2c1956 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "@inb/oeb-chart-scatter": "^1.1.4", "@inb/oeb-classification-table": "^1.2.3", "@nuxtjs/axios": "^5.13.6", + "@nuxtjs/robots": "^2.5.0", "core-js": "^3.22.6", "dompurify": "^2.3.8", "gsap": "^3.10.4",