Skip to content

Commit

Permalink
feat: add robot to disable invite page fetch by search engine
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Dec 21, 2023
1 parent 445b538 commit 67f87e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/web/assets/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /invite/
4 changes: 4 additions & 0 deletions client/web/build/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ const plugins: Configuration['plugins'] = [
from: path.resolve(ROOT_PATH, './assets/pwa.webmanifest'),
to: 'pwa.webmanifest',
},
{
from: path.resolve(ROOT_PATH, './assets/robots.txt'),
to: 'robots.txt',
},
{
from: path.resolve(ROOT_PATH, './assets/_redirects'),
to: './', // for netlify
Expand Down

0 comments on commit 67f87e8

Please sign in to comment.