Skip to content

Commit ac327b6

Browse files
committed
Disallow api for web crawlers
1 parent fa1b712 commit ac327b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wger/core/templates/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
User-Agent: *
2+
Disallow: /api/v2
3+
14
{% for lang in languages %}Sitemap: http://wger.de/{{lang.0}}/sitemap.xml
25
{% endfor %}

0 commit comments

Comments
 (0)