Skip to content

Commit

Permalink
fix noindex for vnext-staging (#4640)
Browse files Browse the repository at this point in the history
* include _headers

* revert vnext-staging context

* add proto _headers file
  • Loading branch information
chenopis authored Aug 4, 2017
1 parent 5da7b72 commit 8825d5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@

[context.deploy-preview]
command = "make build-preview"

[context.vnext-staging]
command = "make build && cp netlify_noindex_headers.txt _site/_headers"
3 changes: 3 additions & 0 deletions netlify_noindex_headers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Prevent bots from indexing site
/*
X-Robots-Tag: noindex

0 comments on commit 8825d5a

Please sign in to comment.