Skip to content

Commit

Permalink
Add robots.txt file (#5762)
Browse files Browse the repository at this point in the history
* Add robots.txt file

* Add changelog entry

* Adjust rollup configuration
  • Loading branch information
jvillafanez authored Sep 1, 2021
1 parent 05f8735 commit 8d06bae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/enhancement-add-robots-file
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Add robots.txt file

Added a robots.txt for ocis-web

https://github.com/owncloud/web/pull/5762
2 changes: 2 additions & 0 deletions packages/web-container/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const plugins = [
dest: 'dist'
},
{ src: './packages/web-container/manifest.json', dest: 'dist' },
{ src: './packages/web-container/robots.txt', dest: 'dist' },
{ src: './packages/web-runtime/themes', dest: 'dist' },
{
src: `./config/${production ? 'config.dist.json' : 'config.json'}`,
Expand Down

0 comments on commit 8d06bae

Please sign in to comment.