toto
toto copied to clipboard
Robots.txt?
Is there a way to specify a robots.txt file?
Just put a robots.txt in your /public and map a static rack URL in your config.ru file, i.e:
config.ru Line 5: use Rack::Static, :urls => ['/css', '/js', '/images', '/favicon.ico', '/robots.txt'], :root => 'public'