Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 10b4344

Browse files
committed
Block Google and other search engines from alpha.spectrum.chat
Closes #2521 Already deployed!
1 parent 3d0e4cc commit 10b4344

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: robots.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This robots.txt file is used to disallow robots to crawl our staging environment alpha.spectrum.chat, which has the same content as the main site
2+
User-agent: *
3+
Disallow: /

Diff for: rules-alpha.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"rules": [
3+
{ "pathname": "/robots.txt", "dest": "robots.alpha.spectrum.chat" },
34
{ "pathname": "/api", "dest": "api.alpha.spectrum.chat" },
45
{ "pathname": "/api/**", "dest": "api.alpha.spectrum.chat" },
56
{ "pathname": "/auth", "dest": "api.alpha.spectrum.chat" },

0 commit comments

Comments
 (0)