Skip to content

Commit

Permalink
feat: add robots.txt support
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Feb 19, 2024
1 parent 1585bd2 commit 060b310
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 137 deletions.
9 changes: 9 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,18 @@ export default defineNuxtConfig({
'@nuxt/devtools',
'@nuxtjs/i18n',
'@nuxtjs/tailwindcss',
'@nuxtjs/robots',
'@vueuse/nuxt',
'./modules/ui-library/module.ts',
],
robots: {
rules: {
Disallow: [
'/health',
],
UserAgent: '*',
},
},
runtimeConfig: {
discord: {
appId: '',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"dependencies": {
"@discordjs/core": "1.1.1",
"@nuxtjs/robots": "^3.0.0",
"@vueuse/core": "10.7.2",
"@vueuse/nuxt": "10.7.2",
"@vueuse/shared": "10.7.2",
Expand Down
Loading

0 comments on commit 060b310

Please sign in to comment.