Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/robots_txt/parser.rb')
-rw-r--r--lib/gitlab/robots_txt/parser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/robots_txt/parser.rb b/lib/gitlab/robots_txt/parser.rb
index 604d2f9b35b..82505ff031a 100644
--- a/lib/gitlab/robots_txt/parser.rb
+++ b/lib/gitlab/robots_txt/parser.rb
@@ -3,8 +3,8 @@
module Gitlab
module RobotsTxt
class Parser
- DISALLOW_REGEX = /^disallow: /i.freeze
- ALLOW_REGEX = /^allow: /i.freeze
+ DISALLOW_REGEX = /^disallow: /i
+ ALLOW_REGEX = /^allow: /i
attr_reader :disallow_rules, :allow_rules