Skip to content

Commit

Permalink
Update:Add robots.txt and noindex meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Mar 16, 2024
1 parent eace46b commit d5c854d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ module.exports = {
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' }
{ hid: 'description', name: 'description', content: '' },
{ hid: 'robots', name: 'robots', content: 'noindex' }
],
script: [],
link: [
Expand Down
2 changes: 2 additions & 0 deletions client/static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-Agent: *
Disallow: /

0 comments on commit d5c854d

Please sign in to comment.