Skip to content

Commit

Permalink
Add a robots.txt file to disallow indexing our profile links (PR #4753)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienw authored Sep 19, 2023
1 parent 2a8c44b commit 55f781c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions res/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Disallow: /public/
Disallow: /from-url/
Disallow: /compare/
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const config = {
'res/_redirects',
'res/zee-worker.js',
'res/contribute.json',
'res/robots.txt',
'res/service-worker-compat.js',
{ from: 'docs-user', to: 'docs' },
{ from: 'locales', to: 'locales' },
Expand Down

0 comments on commit 55f781c

Please sign in to comment.