Skip to content

Commit

Permalink
mozfest site verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax committed Dec 16, 2020
1 parent 08801cd commit d68cbe1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
@@ -0,0 +1 @@
google-site-verification: googlea9d2507950e2948b.html
6 changes: 6 additions & 0 deletions network-api/networkapi/urls.py
Expand Up @@ -22,6 +22,12 @@
admin.autodiscover()

urlpatterns = list(filter(None, [
# mozfest google verification
path(
'googlea9d2507950e2948b.html',
TemplateView.as_view(template_name='googlea9d2507950e2948b.html')
),

# Add robots.txt to exclude the thimble artifact page
path('robots.txt', lambda x: HttpResponse(
"User-Agent: *\nDisallow: /*artifacts/thimble",
Expand Down

0 comments on commit d68cbe1

Please sign in to comment.