Skip to content

Commit

Permalink
fix: robots
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcaiana committed Oct 4, 2022
1 parent b8d7720 commit ee25c32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ export default {
},
},

robots: {
UserAgent: '*',
},

build: {
postcss: {
plugins: {
Expand Down
4 changes: 1 addition & 3 deletions utils/getRoutes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export default async () => {
const { $content } = require('@nuxt/content')
const files = await $content({ deep: true }).only(['path']).fetch()


return files.map((file: any) => (file.path === '/index' ? '/' : file.path))
}
}

0 comments on commit ee25c32

Please sign in to comment.