From d5c854d606967a41566cccc8da6ee70a539a0ac2 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 16 Mar 2024 16:35:05 -0500 Subject: [PATCH] Update:Add robots.txt and noindex meta tag --- client/nuxt.config.js | 3 ++- client/static/robots.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 client/static/robots.txt diff --git a/client/nuxt.config.js b/client/nuxt.config.js index 6a347c23..b5659086 100644 --- a/client/nuxt.config.js +++ b/client/nuxt.config.js @@ -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: [ diff --git a/client/static/robots.txt b/client/static/robots.txt new file mode 100644 index 00000000..95458b58 --- /dev/null +++ b/client/static/robots.txt @@ -0,0 +1,2 @@ +User-Agent: * +Disallow: / \ No newline at end of file