Fixes the location of the robots.txt check
This commit is contained in:
@@ -12,9 +12,7 @@ class WebSite
|
|||||||
# Gets a robots.txt URL
|
# Gets a robots.txt URL
|
||||||
# @return [ String ]
|
# @return [ String ]
|
||||||
def robots_url
|
def robots_url
|
||||||
temp = @uri.clone
|
@uri.clone.merge('robots.txt').to_s
|
||||||
temp.path = '/robots.txt'
|
|
||||||
temp.to_s
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user