diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 000000000..1f53798bb --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/web/webpack.config.js b/web/webpack.config.js index 8381d51b5..43e7f1c89 100644 --- a/web/webpack.config.js +++ b/web/webpack.config.js @@ -37,6 +37,11 @@ const copyWebpackCommands = [ }, force: true, }, + { + from: `${STATIC_ROOT}/robots.txt`, + to: `${DIST_ROOT}/robots.txt`, + force: true, + }, { from: `${STATIC_ROOT}/img/favicon.png`, to: `${DIST_ROOT}/public/favicon.png`,