Skip to content

Commit

Permalink
added robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikbruechner committed Jun 20, 2022
1 parent a5465ee commit 5512cbe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5512cbe

Please sign in to comment.