Commit b171057d authored by Kerri Miller's avatar Kerri Miller

Merge branch 'jejacks0n/add-gitlab-experiment-to-robots-txt' into 'master'

Add experiment routes to robots.txt

See merge request gitlab-org/gitlab!67535
parents 982411c0 1736592a
......@@ -24,6 +24,7 @@ Disallow: /help
Disallow: /s/
Disallow: /-/profile
Disallow: /-/ide/
Disallow: /-/experiment
# Restrict allowed routes to avoid very ugly search results
Allow: /users/sign_in
Allow: /users/*/snippets
......
......@@ -28,6 +28,7 @@ RSpec.describe 'Robots.txt Requests', :aggregate_failures do
it 'blocks the requests' do
requests = [
Gitlab::Experiment::Configuration.mount_at,
'/autocomplete/users',
'/autocomplete/projects',
'/search',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment