Shouldn't we avoid search engines from indexing our staging environments? #708
andrecasal
started this conversation in
Ideas
Replies: 1 comment
-
We handle this here: #679 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Indexing staging environments is a common occurence that is annoying to undo.
As far as I can tell, there's nothing stopping Google from indexing our staging environments.
So shouldn't we stop that with something like this 👇?
Note we shouldn't use the
NODE_ENV
var, because we want our stagging environment to be as close to production as possible. The solution is simple: use another var.DEPLOY_STAGE = "development" | "staging" | "production"
I'd be happy to push a PR for this. LMK :)
Beta Was this translation helpful? Give feedback.
All reactions