Skip to content

Commit a882ef7

Browse files
committed
feat: add robots file
1 parent 1adb357 commit a882ef7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

angular-hub/project.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"outputPath": "dist/angular-hub/client",
2020
"tsConfig": "angular-hub/tsconfig.app.json",
2121
"serviceWorker": true,
22-
"ngswConfigPath": "angular-hub/ngsw-config.json"
22+
"ngswConfigPath": "angular-hub/ngsw-config.json",
23+
"assets": ["src/robots.txt"]
2324
},
2425
"defaultConfiguration": "production",
2526
"configurations": {

angular-hub/src/robots.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://angular-hub.com/sitemap.xml

0 commit comments

Comments
 (0)