Skip to content

Commit 5c63297

Browse files
authored
feat: add robots.txt to only index root page (#51)
1 parent 7b34a87 commit 5c63297

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"input": "src/assets",
2727
"output": "assets"
2828
},
29-
"src/manifest.webmanifest"
29+
"src/manifest.webmanifest",
30+
"src/robots.txt"
3031
],
3132
"styles": [
3233
{

src/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
User-agent: *
2+
Disallow: /*
3+
Allow: /$

0 commit comments

Comments
 (0)