Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7d50b2e

Browse files
committed
chore(docs.angularjs.org): allow robots to access js and css
Otherwise, the google bot cannot execute the JS
1 parent ea04dbb commit 7d50b2e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/app/assets/robots.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
User-agent: *
22

3-
Disallow: /components/
43
Disallow: /examples/
54
Disallow: /img/
6-
Disallow: /js/
75
Disallow: /partials/
86
Disallow: /ptore2e/
9-
Disallow: /*.js$
10-
Disallow: /*.map$
7+
Disallow: /*.js$ # The js files in the root are used by the embedded examples, not by the app itself
8+
Disallow: /*.map$ # The map files in the root are used by the embedded examples, not by the app itself
119
Disallow: /Error404.html

0 commit comments

Comments
 (0)