fix noindex for vnext-staging (#4640)
* include _headers * revert vnext-staging context * add proto _headers file
This commit is contained in:
@@ -4,6 +4,3 @@
|
|||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "make build-preview"
|
command = "make build-preview"
|
||||||
|
|
||||||
[context.vnext-staging]
|
|
||||||
command = "make build && cp netlify_noindex_headers.txt _site/_headers"
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Prevent bots from indexing site
|
||||||
|
/*
|
||||||
|
X-Robots-Tag: noindex
|
||||||
Reference in New Issue
Block a user